java - org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup -
I'm doing it in Java XML parser, then I get an error when parsing an XML file ...
[fatal error] jira.xml: 1 9 2: 64: went well-formed content elements appear to be data or markup. Org.xml.sax.SAXParseException: The contents of the elements should contain well-formed character data or markup. Com.sun.org.apache.xerces.internal.parsers at On Com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse (Unknown Source) at javax.xml.parsers (Unknown Source) Com.icomteq.ReadXMLFile.main (ReadXMLFile.java20) DocumentBuilder.parse (unknown Source)
Any sign can be what can be the problem? Thank you
used code here ->
This is my Jira.aksm ->
& lt ;? XML version = "1.0"? & Gt; & Lt; DATA_RECORD & gt; & Lt; Description & gt; & Amp; Lt; & Lt; Inside & amp; Amp; Description Tag & amp; Amp; Lt; & Lt; & Lt; / Description & gt; & Lt; / DATA_RECORD & gt;
Temporary Solutions -> I have found that XML rule I It seems that you have an encoding problem with this line. should either be Or it should be & lt;
should not be xml, so I
& amp; Lt; & Lt; Inside & amp; Amp; Description Tag & amp; Amp; Lt; & Lt;
& amp; Lt; & Amp; Lt; Inside & amp; Amp; Amp; Description Tag & amp; Amp; Lt; & Amp; Lt;
& amp; Lt; Inside & amp; Amp; Description Tag & amp; Amp; Lt;
Comments
Post a Comment