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

Xerces-C++ Allows junk after root element (null characters)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.1
    • None
    • Non-Validating Parser
    • None
    • WindowsXP

    Description

      Xerces-C allows a sequence of null characters after the document root at the end of the xml instance.
      XML Specifiction states that only white-space is allowed after the document root.
      See attached sample for details.
      Info about the affected version of the parser is also added as an attachment to this issue.

      Attachments

        1. version.incl
          0.8 kB
          Maarten Koskamp
        2. sample.xml
          0.2 kB
          Maarten Koskamp
        3. basic_bad_bytes3.xml
          0.1 kB
          Benjamin Fritz

        Activity

          People

            Unassigned Unassigned
            koskm00 Maarten Koskamp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: