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

Andreas Veithen resolved WSCOMMONS-438.
---------------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: Axiom 1.2.9)

This issue is actually invalid because this is not supported by Axiom, even for 
elements that are not document elements. See WSCOMMONS-451.

> Unexpected OMException in OMElementImpl#getNextOMSibling when element is 
> consumed
> ---------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-438
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-438
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>            Reporter: Andreas Veithen
>            Priority: Minor
>         Attachments: WSCOMMONS-438-test.patch
>
>
> Under the following conditions, OMElementImpl#getNextOMSibling throws an 
> OMException ("Parser has already reached end of the document. No siblings 
> found"), whereas it should simply return null:
> * The element is the document element.
> * There are no other nodes after the document element.
> * The element has not been built and is consumed (e.g. by reading the events 
> from getXMLStreamReaderWithoutCaching).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to