[
https://issues.apache.org/jira/browse/AXIOM-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13655509#comment-13655509
]
Hudson commented on AXIOM-201:
------------------------------
Integrated in ws-axiom-trunk #1517 (See
[https://builds.apache.org/job/ws-axiom-trunk/1517/])
* AXIOM-201: Ensure that getXMLStreamReader expands OMSourcedElements only
if strictly necessary.
* AXIOM-431: Fully support the scenario (getting an XMLStreamReader from a
programmatically created element with an incomplete descendant) with
cache=false. (Revision 1481499)
Result = SUCCESS
veithen :
Files :
*
/webservices/axiom/trunk/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/OMContainerHelper.java
*
/webservices/axiom/trunk/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/serializer/pull/SwitchingWrapper.java
*
/webservices/axiom/trunk/modules/axiom-dom/src/test/java/org/apache/axiom/om/impl/dom/OMImplementationTest.java
*
/webservices/axiom/trunk/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
> Components: LLOM
> 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]