You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/02/13 22:30:57 UTC

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

    [ https://issues.apache.org/jira/browse/AXIOM-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994153#comment-12994153 ] 

Hudson commented on AXIOM-63:
-----------------------------

Integrated in ws-axiom-trunk #348 (See [https://hudson.apache.org/hudson/job/ws-axiom-trunk/348/])
    AXIOM-63: Fixed a couple of issues in OMXMLStreamReaderValidator that caused it to incorrectly report mismatched END_ELEMENT events when nextTag or getElementText is used. Also refactored the code so that (a) it can be used with plain XMLStreamReader implementations and (b) that it uses XMLStreamReaderWrapper as base class.


> 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
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.2.12
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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