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

Reply via email to