JAX-WS XMLSpine Improvements
----------------------------
Key: AXIS2-2026
URL: https://issues.apache.org/jira/browse/AXIS2-2026
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: jaxws
Reporter: Rich Scheuerle
XMLSpine is one of the key objects in the JAX-WS model of the Message.
I have a patch that is a rearchitecture of this class.
Summary of changes:
1) The primary purposeof the XMLSpine is a repository of Blocks, where a
Block is an xml representation backed by a data object (JAXB, String, Source,
etc.) . The prior version of XMLSpine stored these Blocks in instance arrays.
The new version of the code stores the Blocks directly in the OM tree (using
OMSourcedElement). This is a simpler design. In addition, the new design also
keeps the OM tree in a consistent state.
2) The XMLSpine used OMChildIterator in several places. This caused
problems with unnecessary tree expansion. I made some several changes to the
code to avoid moving the parser cursor.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]