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 2016/01/19 22:32:39 UTC
[jira] [Commented] (AXIOM-288) Allow the builder to continue
building the Axiom tree after an element has been consumed
[ https://issues.apache.org/jira/browse/AXIOM-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15107484#comment-15107484 ]
Hudson commented on AXIOM-288:
------------------------------
SUCCESS: Integrated in axiom-trunk #2426 (See [https://builds.apache.org/job/axiom-trunk/2426/])
AXIOM-478:
* Allow OMElement#getTextAsStream to use the feature implemented in AXIOM-288 so that caching will be reenabled after the stream is closed.
* Update the Javadoc to document the requirement to close the Reader.
* Throw a meaningful exception when the next() method is invoked on a builder with caching disabled. (veithen: rev 1725612)
* axiom/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/common/AxiomElementSupport.aj
* axiom/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java
* axiom/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXOMBuilder.java
* axiom/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetTextAsStreamWithoutCaching.java
> Allow the builder to continue building the Axiom tree after an element has been consumed
> ----------------------------------------------------------------------------------------
>
> Key: AXIOM-288
> URL: https://issues.apache.org/jira/browse/AXIOM-288
> Project: Axiom
> Issue Type: Improvement
> Affects Versions: 1.2.8
> Reporter: Andreas Veithen
> Assignee: Andreas Veithen
> Priority: Minor
> Fix For: 1.2.15
>
>
> Consider the following document:
> <a>
> <b>
> <c>some content</c>
> </b>
> <d>
> <e>more content</e>
> </d>
> </a>
> Technically it should be possible to consume the <b> element (using e.g. getXMLStreamReaderWithoutCaching on the corresponding OMElement), while still allowing the builder to build the nodes starting from <d>. However this is not currently supported by Axiom.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org