Skip to Content
0
Former Member
Apr 22, 2009 at 08:05 AM

org.xml.sax.SAXParseException: Illegal character at end of document, &#x3c

263 Views

<SOAP-ENV:Body>

<main>

<child>

<string>jfgkjfkjgkNEHA_MITT0497 0000041001000000050 </string>

<string>jhjhjkkjjkNEHA_MITT0498 0000041001000000050 </string>

<string>jhjhjkkjjkNEHA_MITT0498 0000041001000000050 </string>

<string>jhjhjkkjjkNEHA_MITT0498 0000041001000000050 </string>

</child>

</main>

</SOAP-ENV:Body>

Hi,

Am reading the above xml file using the org.w3c.dom.*;

fstNmElmntLst = doc.getElementsByTagName("string");

If I run 668 records at a time it runs fine but above that it throws below error

org.xml.sax.SAXParseException: Illegal character at end of document, &#x3c;.

Can you please help me out for this problem

Thanks