Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1734

Problem in parsing XML with '&'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.7.0
    • None
    • SAX/SAX2
    • None
    • Solaris, Oracle

    Description

      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 & Rahul</Name>

      after parsing the the string gets truncated to '& Rahul'

      Thinking that is is a problem with '&' I tried using '#' 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            gaurav.kush Gaurav K
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: