[ https://issues.apache.org/jira/browse/AXIOM-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096855#comment-13096855 ]
Hudson commented on AXIOM-335: ------------------------------ Integrated in ws-axiom-trunk #540 (See [https://builds.apache.org/job/ws-axiom-trunk/540/]) AXIOM-240: Reverted part of r688927: XOP no longer requires special attention since AXIOM-255 and AXIOM-335 have been fixed. veithen : Files : * /webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMElementImpl.java > DataHandler extension should support deferred loading/parsing > ------------------------------------------------------------- > > Key: AXIOM-335 > URL: https://issues.apache.org/jira/browse/AXIOM-335 > Project: Axiom > Issue Type: Improvement > Affects Versions: 1.2.8 > Reporter: Andreas Veithen > Assignee: Andreas Veithen > Fix For: 1.2.9 > > > The XMLStreamReader extension defined by the IS_DATA_HANDLERS_AWARE, > IS_BINARY and DATA_HANDLER properties (see OMConstants) currently only allows > immediate loading of the DataHandler. This extension could be leveraged in a > wider range of use cases if it also allowed deferred loading of the > DataHandler: in this case the consumer of the XMLStreamReader would get a > reference/link to the binary data but would fetch the DataHandler only when > required (as Axiom does when processing an MTOM/XOP message). > This improvement could be implemented by defining a set of additional > properties, but a purely property based solution is not very usable, > difficult to document and also not very efficient. The proposal is therefore > to define an extension interface (with methods isBinary(), isDeferred(), > getDataHandler(), etc.) as well as a single property that allows the consumer > of the XMLStreamReader to query that extension interface. Of course care > would be taken to maintain compatibility with the existing DataHandler > extension. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org For additional commands, e-mail: dev-h...@ws.apache.org