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

Erranous parsing exception re. two attributes being the same while they are not.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • 2.4.0
    • None
    • Non-Validating Parser
    • None
    • Operating System: Windows XP
      Platform: PC
    • 26635

    Description

      This little xml won't parse on Xerces 2.4.0 , perchance a bug
      with how the parser determines if the same attribute has been defined
      twice in an element:

      <?xml version="1.0"?>
      <TEST
      UI-SW-RESPONSIBLE="NN"
      MCU-SW-RESPONSIBLE="NN">
      </TEST>

      Tested with sample StdInParse.exe, yields error:
      Fatal Error at (file stdin, line 4, char 20): The attribute 'MCU-SW-RESPONSIBLE'
      is already used in element 'TEST'

      which as you can see, is not the case.

      Can someone confirm that it is a bug?

      Attachments

        Activity

          People

            Unassigned Unassigned
            peter.back@goodmood.fi Peter Bäck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: