SAX Parser truncates the data on the left side of &(ampersand)
--------------------------------------------------------------
Key: XERCESC-1466
URL: http://issues.apache.org/jira/browse/XERCESC-1466
Project: Xerces-C++
Type: Bug
Components: SAX/SAX2
Versions: 2.4.0
Environment: Tandem S series, c89 c++ compiler, Xercesc 2.4.0
Reporter: Rinil Baxi
My input XML file is
===============
<?xml version ="1.0" ?>
<myservice>
<mystring>123>ABCDEF</mystring>
</myservice>
Output should contain 123>ABCDEF but it contains >ABCDEF.
Analysis :
=======
While parsing XML file the parser hits parser->parseNext(token) it
reinitializes the value of toUse->findex.
findex is the index of the XML buffer.
So it overwrites the contents of the buffer.
For checking this I have used "PParse".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]