[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webservices-general
Subject:    [jira] [Resolved] (AXIOM-358) OMStAXWrapper#hasNext may return
From:       "Andreas Veithen (JIRA)" <jira () apache ! org>
Date:       2011-03-27 13:11:05
Message-ID: 651158423.15092.1301231465763.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]


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

Andreas Veithen resolved AXIOM-358.
-----------------------------------

    Resolution: Fixed

> OMStAXWrapper#hasNext may return incorrect value
> ------------------------------------------------
> 
> Key: AXIOM-358
> URL: https://issues.apache.org/jira/browse/AXIOM-358
> Project: Axiom
> Issue Type: Bug
> Components: DOOM, LLOM
> Affects Versions: 1.2.11
> Reporter: Andreas Veithen
> Assignee: Andreas Veithen
> Fix For: 1.2.12
> 
> 
> The StAX specification defines the XMLStreamReader#hasNext() method as follows:
> "Returns true if there are more parsing events and false if there are no more \
> events. This method will return false if the current state of the XMLStreamReader \
> is END_DOCUMENT." In some cases, the hasNext method in \
> OMStAXWrapper/SwitchingWrapper already returns false on the event immediately \
> preceding the END_DOCUMENT event. This means that when using a loop constructed \
> with hasNext, the END_DOCUMENT event is missed. Note that some code in Axis2 seems \
> to depend on this incorrect behavior and will have to be fixed.

--
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic