hi,
My
java program parses an XML document with the following line:
<ORGS>
<ORG1 SID="1" BN="101" DESC="US OPERATIONS" />
<ORG2 SID="2" BN="102" DESC="CANADA UNIT" />
<ORG3 SID="3" BN="103" DESC="'SA' <BA> & "MEXICO"" />
</ORGS>
And should display a report like:
SID BN DESC
----------------
1 101 US OPERATIONS
2 102 CANADA
UNIT 3 103 'SA' <BA> & "MEXICO"
But upon parsing, I get an error like:
org.xml.sax.SAXParseException: Attribute names must not start with "'" characters.
It seems like the entity references are not parsed properly.. any idea? solution? help?
Thanks..