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

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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. basic_bad_bytes3.xml
          0.1 kB
          Benjamin Fritz
        2. sample.xml
          0.2 kB
          Maarten Koskamp
        3. version.incl
          0.8 kB
          Maarten Koskamp

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            koskm00 Maarten Koskamp

            Dates

              Created:
              Updated:

              Slack

                Issue deployment