[ https://issues.apache.org/jira/browse/WSCOMMONS-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen updated WSCOMMONS-438: -------------------------------------- Attachment: WSCOMMONS-438-test.patch Attached patch that adds a test case providing evidence for this issue. > 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 > Fix For: Axiom 1.2.9 > > 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.