OMXMLStreamReaderValidator incorrectly reports mismatched END_ELEMENT events ----------------------------------------------------------------------------
Key: WSCOMMONS-563 URL: https://issues.apache.org/jira/browse/WSCOMMONS-563 Project: WS-Commons Issue Type: Bug Components: AXIOM Affects Versions: Axiom 1.2.9 Reporter: Andreas Veithen Priority: Minor Fix For: Axiom 1.2.11 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.