Hello Suresh, the leading characters are a bom. This http://marc.theaimsgroup.com/?l=xerces-j-dev&m=100040259004052&w=2 post will help you.
Kind regards, Harald -----Original Message----- From: Suresh Babu Koya [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 5. M�rz 2003 12:30 To: [EMAIL PROTECTED] Subject: Characters in XML file Hello group, I am having one XML file with the header 1) <?xml version="1.0" encoding="UTF-8"?> and another XML with the header 2) <?xml version="1.0" encoding="UTF-8"?> The first one is throwing errors with some old version of XML parser and is working fine with a newer version of Xerces parser. The second XML file header is generated with the Serializer API of Xerces and is parsed properly with both the old and newer version of parsers. May I know which of the two headers is correct as per 1.0 spec and in which case the parser behaviour is correct. /Suresh --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
