Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Invalid XML character. (Unicode: 0x7)

843834Sep 23 2003 — edited Sep 25 2003
Hi There,

i get this Exception when i parse an XML file.

Invalid XML character. (Unicode: 0x7)
at com.ibm.xml.framework.XMLParser.handleError(XMLParser.java)
at com.ibm.xml.framework.XMLParser.error1(XMLParser.java)
at com.ibm.xml.internal.UTF8CharReader.skipInvalidChar(UTF8CharReader.java)
at com.ibm.xml.internal.DefaultScanner.scanContent(DefaultScanner.java)
at com.ibm.xml.internal.DefaultScanner.scanDocument(DefaultScanner.java)
at com.ibm.xml.framework.XMLParser.parse(XMLParser.java)


Basically, the data for the XML are picked from my 8i database and when i use a SAX parser to validate the formed XML, i get the exception above. The character do not appear to be outside ASCII range to me.

Any idea how i cld overcome this problem or identify which/what character is causing this problem? Am using a xmk4j 2.x parser.

Tks is advance.

-Sakthi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 23 2003
Added on Sep 23 2003
4 comments
3,017 views