You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/11/10 23:40:14 UTC

[jira] Updated: (AXIOM-63) OMXMLStreamReaderValidator incorrectly reports mismatched END_ELEMENT events

     [ https://issues.apache.org/jira/browse/AXIOM-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIOM-63:
---------------------------------

    Component/s: API

> OMXMLStreamReaderValidator incorrectly reports mismatched END_ELEMENT events
> ----------------------------------------------------------------------------
>
>                 Key: AXIOM-63
>                 URL: https://issues.apache.org/jira/browse/AXIOM-63
>             Project: Axiom
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.2.9
>            Reporter: Andreas Veithen
>            Priority: Minor
>             Fix For: 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org