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

Hudson commented on AXIOM-201:
------------------------------

Integrated in ws-axiom-trunk #1369 (See 
[https://builds.apache.org/job/ws-axiom-trunk/1369/])
    Initial fix for AXIOM-201: avoid expansion of OMSourcedElements in 
SwitchingWrapper if possible. (Revision 1433617)

     Result = SUCCESS
veithen : 
Files : 
* 
/webservices/commons/trunk/modules/axiom/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/IncludeWrapper.java
* 
/webservices/commons/trunk/modules/axiom/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/SwitchingWrapper.java
* 
/webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/OMImplementationTest.java

                
> OMSourcedElement is always expanded when getXMLStreamReader is used on one of 
> its ancestors
> -------------------------------------------------------------------------------------------
>
>                 Key: AXIOM-201
>                 URL: https://issues.apache.org/jira/browse/AXIOM-201
>             Project: Axiom
>          Issue Type: Bug
>    Affects Versions: 1.2.8
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.2.15
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to