You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by praveen edem <pr...@infosys.com> on 2002/12/04 05:17:18 UTC

Help required in Xerces SAX parser.

 
Hi,
 
I am using the Xerces SAX Parser.
Now whenever, the data element contains characters like 'ÿ þ ý ü æ À Á'  , 
I get an error during parsing saying 
org.xml.sax.SAXParseException: The root element is required in a well-formed document.
 
I am using UTF-8 encoding format.
 
Interestingly, if I use ISO-8859-1 encoding, it works fine. But I need to use only the UTF-8 encoding format.
 
Any pointers!!!
 
Thanks and regards,
Praveen