S
sohan.soni
Hi,
XML file content is:
<?xml version="1.0"?>
<!DOCTYPE RECORD SYSTEM ".\RECORD.dtd">
<RECORD EXT_SOURCE="DEFAULT" TEMPLATE="GAS_POOL_POINTS">
<TABLE_NAME>GAS_POOL_POINTS</TABLE_NAME>
<COLUMN>
<COLUMN_NAME>GP_POOL</COLUMN_NAME>
<PRIMARY_KEY>Y</PRIMARY_KEY>
<COLUMN_VALUE>Some&Value</COLUMN_VALUE>
</COLUMN>
</Record>
When Parsing (i.e. converting this XML doc to String) this XML file
using Java code, I am getting following exception.
org.xml.sax.SAXParseException: Next character must be ";" terminating
reference to entity "Value".
I think there is some changes/modification needed in DTD to treat the
string in XML which contains & as a literal, instead of expecting some
entity.
Adding to this, XML content is not under our control.
Please reply if somebody knows about this.
XML file content is:
<?xml version="1.0"?>
<!DOCTYPE RECORD SYSTEM ".\RECORD.dtd">
<RECORD EXT_SOURCE="DEFAULT" TEMPLATE="GAS_POOL_POINTS">
<TABLE_NAME>GAS_POOL_POINTS</TABLE_NAME>
<COLUMN>
<COLUMN_NAME>GP_POOL</COLUMN_NAME>
<PRIMARY_KEY>Y</PRIMARY_KEY>
<COLUMN_VALUE>Some&Value</COLUMN_VALUE>
</COLUMN>
</Record>
When Parsing (i.e. converting this XML doc to String) this XML file
using Java code, I am getting following exception.
org.xml.sax.SAXParseException: Next character must be ";" terminating
reference to entity "Value".
I think there is some changes/modification needed in DTD to treat the
string in XML which contains & as a literal, instead of expecting some
entity.
Adding to this, XML content is not under our control.
Please reply if somebody knows about this.