You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2007/08/09 12:39:42 UTC

[jira] Resolved: (XERCESC-1734) Problem in parsing XML with '&'

     [ https://issues.apache.org/jira/browse/XERCESC-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alberto Massari resolved XERCESC-1734.
--------------------------------------

    Resolution: Invalid

Please don't file a bug for such questions, use the mailing list c-users@xerces.apache.org
Most likely you are using the SAX parser, and not handling the fact that the characters callback can be called multiple times for the same text node

Alberto


> Problem in parsing XML with '&'
> -------------------------------
>
>                 Key: XERCESC-1734
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1734
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: SAX/SAX2
>    Affects Versions: 2.7.0
>         Environment: Solaris, Oracle
>            Reporter: Gaurav K
>
> In my project we are using Xerces-C++ Prser for parsing the XML files.
> Now, if my XML file contains a string say 
>        
>       <Name>There are 2 friends Amit &amp; Rahul</Name>
> after parsing the the string gets truncated to '& Rahul'
> Thinking that is is a problem with '&' I tried using  '&#35;' but this also did not help.
> Can you please tell as to how can i get the XML(with '&')  to be parsed sucessfully.
> Thanks in Advance!
> -Gk

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org