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 & lt; should not be xml, so I

I It seems that you have an encoding problem with this line.

  & amp; Lt; & Lt; Inside & amp; Amp; Description Tag & amp; Amp; Lt; & Lt;  

should either be

& amp; Lt; & Amp; Lt; Inside & amp; Amp; Amp; Description Tag & amp; Amp; Lt; & Amp; Lt;

Or it should be

  & amp; Lt; Inside & amp; Amp; Description Tag & amp; Amp; Lt;  

Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -