You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/12/30 15:44:12 UTC

[jira] [Commented] (AXIOM-201) OMSourcedElement is always expanded when getXMLStreamReader is used on one of its ancestors

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

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

Integrated in ws-axiom-trunk #1311 (See [https://builds.apache.org/job/ws-axiom-trunk/1311/])
    Expanded the code coverage generated by TestSerializeToXMLWriterFromReader and fixed an issue that caused OMSourcedElement#getXMLStreamReaderWithoutCaching to unnecessarily build nodes. This also sheds some light on AXIOM-201 and AXIOM-431. (Revision 1426927)

     Result = SUCCESS
veithen : 
Files : 
* /webservices/commons/trunk/modules/axiom/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/OMNavigator.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/OMTestSuiteBuilder.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/sourcedelement/TestSerializeToXMLWriterFromReader.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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org