This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I am using a SAXParser for parsing the XML file.My DTD file does not have the encoding attribute set in the header. Its has only <?xml version="1.0"?> When I try to parse the XML file I get the SAXParseException "more pseudo attributes required !" It works pefectly fine if I set the encoding attribute in the header of the DTD as <?xml version="1.0" encoding="utf-8"?> But I dont want to specify the encoding. Is there any way to overcome this problem?