OMSourcedElement is always expanded when getXMLStreamReader is used on one of 
its ancestors
-------------------------------------------------------------------------------------------

                 Key: WSCOMMONS-453
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-453
             Project: WS-Commons
          Issue Type: Bug
          Components: AXIOM
    Affects Versions: Axiom 1.2.8
            Reporter: Andreas Veithen
            Assignee: Andreas Veithen
            Priority: Minor
             Fix For: Axiom 1.2.9


Scenario: getXMLStreamReader is called on an OMElement that has an 
OMSourcedElement as one of its descendents.

Result: After the XMLStreamReader has been consumed, the OMSourcedElement is 
expanded, even if it is backed by a data source that supports non destructive 
reads.

When encountering an OMSourcedElement, StAXOMWrapper should insert the events 
from the XMLStreamReader produced by the OMDataSource instead of generating the 
events by traversing the OMSourcedElement (which results in its expansion). 
This is currently not implemented.


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