![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: invalid byte 1 of 1-byte UTF-8 sequence (0xb3) invalid byte 1 of 1-byte UTF-8 sequence (0xb3)To: NULL Date: 4/1/2004 4:55:00 PM Hi All, I was trying to parse an XML file using xerces-J latest version 2.6.2 and got the invalidByte exception, the problem has to do with a character "superscript 3" with unicode 0xb3. I thought this is a legal XML character according to the XML specification, and I can load the xml document fine with Windows Explorer. Any clue why I got this exception? Thanks much in advance. Frank =========================== Here is the exception trace. java.io.UTFDataFormatException: invalid byte 1 of 1-byte UTF-8 sequence (0xb3) at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source) at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) at org.apache.xerces.impl.XMLEntityManager$EntityScanner.load (Unknown Source) at org.apache.xerces.impl.XMLEntityManager$EntityScanner.scanC ontent(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanC ontent(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragm entContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanD ocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse (Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||
|
