[ http://issues.apache.org/jira/browse/AXIS2-348?page=comments#action_12362190 ]
Eran Chinthaka commented on AXIS2-348: -------------------------------------- Reason behind us implementing the detach function was to relieve the user from handling the links, between parents , siblings and children, in the case of llom. We didn't want to go in to other tasks in this method. I think I've mentioned this clearly in the javadoc of the method. Sorry if the method name gave you a wrong meaning :). > Namespace serialization of attributes > ------------------------------------- > > Key: AXIS2-348 > URL: http://issues.apache.org/jira/browse/AXIS2-348 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Components: om > Versions: 0.94 > Environment: Any > Reporter: Saminda Wishwajith Abeyruwan > > When an Element of a given OM tree has detach and attach to another OM tree, > if an attribute is namespace aware, it does not serialize property in to the > second OM tree. > Ex: > if the first SOAP Envelope has declared with following namespaces > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> > > and soap body contains the following element, > <Result xmlns="" xsi:type="xsd:float">83.12</Result> > When detach the above element and add to another SOAP tree, the serialization > is as follows, > > <Result xmlns="" xsi:type="xsd:float">83.12</Result> without namespace of the > prefixes. > The second Tree dose not serialize the name space of "xis" and "xsd" > prefixes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira