Uploaded image for project: 'Axiom'
  1. Axiom
  2. AXIOM-63

OMXMLStreamReaderValidator incorrectly reports mismatched END_ELEMENT events

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.9
    • 1.2.12
    • API
    • None

    Description

      The code in OMXMLStreamReaderValidator implicitly makes the assumption that the parser state (event) may only change during calls to next(). This is incorrect, because calls to getElementText() and nextTag() also consume events from the parser. This sometimes causes OMXMLStreamReaderValidator to report mismatched END_ELEMENT events although the sequence of events produced by the parent XMLStreamReader is correct. An example of this can be seen in AXIS2-4854.

      Attachments

        Activity

          People

            veithen Andreas Veithen
            veithen Andreas Veithen
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: