Character code 14 is not allowed in XML content. So the component that produced it is buggy.
> -----Original Message----- > From: Larry Kline [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 18, 2001 3:11 AM > To: [EMAIL PROTECTED] > Subject: Invalid XML character > > > I receive the following exception and stack trace when I parse a > particular > xml document: > > org.xml.sax.SAXParseException: Character reference "" is an invalid > XML character. > at > org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196) > at > org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError > (XMLDocume > ntScanner.java:579) > at > org.apache.xerces.framework.XMLDocumentScanner.scanCharRef(XMLDocu > mentScanne > r.java:1852) > at > org.apache.xerces.framework.XMLDocumentScanner.scanAttValue(XMLDoc > umentScann > er.java:496) > at > org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocu > mentScanne > r.java:1769) > at > org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.d > ispatch(XM > LDocumentScanner.java:1182) > at > org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocume > ntScanner. > java:381) > at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081) > ... > > The offending character is definitely in the file. It is in the value of > an element attribute. The file was written by using a SAX serializer and > standard SAX api calls to create elements and add attributes. > The file has > never been edited directly. For that reason I don't understand how the > parser could have a problem reading it. > > I originally accepted the defaults for encoding, but I have also tried > UTF-16 and UTF-16BE. Same problem in all cases. > > Any thoughts? > > - Larry > Larry Kline > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > 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]
