This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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?