You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Saminda Wishwajith Abeyruwan (JIRA)" <ji...@apache.org> on 2005/12/22 05:34:30 UTC

[jira] Created: (AXIS2-348) Namespace serialization of attributes

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


[jira] Commented: (AXIS2-348) Namespace serialization of attributes

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Assigned: (AXIS2-348) Namespace serialization of attributes

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-348?page=all ]

Deepal Jayasinghe reassigned AXIS2-348:
---------------------------------------

    Assign To: Eran Chinthaka

> 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
>     Assignee: Eran Chinthaka

>
> 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


[jira] Resolved: (AXIS2-348) Namespace serialization of attributes

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-348?page=all ]
     
Davanum Srinivas resolved AXIS2-348:
------------------------------------

    Resolution: Won't Fix

wont fix as per Eran.

> 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
>     Assignee: Eran Chinthaka

>
> 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