Hi,
I'm using version 1.7 of xerces-c++. I'm having problems parsing the
following:
<smd:attr_li name="ancestor">
<smd:li>Contrib-Tools.PIMTOOL,r<B.11.11,l=/</smd:li>
<smd:li>OS-Core.UX-CORE,r<B.11.11.%,l=/</smd:li>
</smd:attr_li>
The "r<B.11.11" should translate to "r<B.11.11". I have derived a class
from the SAX DefaultHandler and in the ::characters method, the "<" is
converted to '<' but for some reason it thinks that the '<' is then the
beginning of the end tag "</smd:li>" or it thinks it is a new list element
"<smd:li>". So it converts the above to:
<smd:attr_li name="ancestor">
<smd:li>Contrib-Tools.PIMTOOL,r</smd:li>
<smd:li><B.11.11,l=/</smd:li>
<smd:li>OS-Core.UX-CORE,r</smd:li>
<smd:li><B.11.11.%,l=/</smd:li>
</smd:attr_li>
Does anybody know why this is happening? Is this a bug in this version of
xerces-c++ or is this a problem whith the way the '<' is escaped in the XML?
Thanks in advance!
Steve Barge
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]