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

Parser reports error when comment tag is broken up by BinInputStream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 3.0.0
    • Non-Validating Parser
    • None
    • Solaris (SunOS 5.10) i386 SunPRO
      cygwin i386 GCC

    Description

      If the BinInputStream delivers data to the parser in such a way that the '<', '!' and '--' at the start of an XML comment are delivered separately, the parser will report the error 'Expected comment or CDATA'. The problem is reproducible under Xerces 2.8 on both Solaris i386 with the SunPRO C++ compiler and cygwin i386 with the GNU C++ compiler.

      Attachments

        1. test.cc
          4 kB
          Vasantha Crabb
        2. new-test.cc
          5 kB
          David N Bertoni
        3. long.xml
          64 kB
          cargilld

        Activity

          People

            Unassigned Unassigned
            vastheman Vasantha Crabb
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: