This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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?