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 "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org> on 2005/08/30 13:42:04 UTC

[jira] Created: (AXIS2-192) OM Serialization drops attribute namespaces

OM Serialization drops attribute namespaces
-------------------------------------------

         Key: AXIS2-192
         URL: http://issues.apache.org/jira/browse/AXIS2-192
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
 Reporter: Ruchith Udayanga Fernando
 Assigned to: Eran Chinthaka 
    Priority: Blocker


When serilizing following OMElement

<foo xmlns:a="http://opensource.lk">
  <bar1 b:attr="test attr value1" xmlns:b="http://opensource.lk/ns1">test1</bar1>
  <bar2 b:attr="test attr value2" xmlns:b="http://opensource.lk/ns1">test2</bar2>
</foo>

Produced output is:

<foo xmlns:a="http://opensource.lk">
  <bar1 b:attr="test attr value1">test1</bar1>
  <bar2 b:attr="test attr value2">test2</bar2>
</foo>

Note that the attribute namespaces are missing.

This is a blocker for the WS-Security interop tests :-(

Will attach a test to reproduce the problem.

-- 
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] Updated: (AXIS2-192) OM Serialization drops attribute namespaces

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-192?page=all ]

Ruchith Udayanga Fernando updated AXIS2-192:
--------------------------------------------

    Attachment: AttrNsTest.java

Run this to see the missing attr namespaces

> OM Serialization drops attribute namespaces
> -------------------------------------------
>
>          Key: AXIS2-192
>          URL: http://issues.apache.org/jira/browse/AXIS2-192
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>     Reporter: Ruchith Udayanga Fernando
>     Assignee: Eran Chinthaka
>     Priority: Blocker
>  Attachments: AttrNsTest.java
>
> When serilizing following OMElement
> <foo xmlns:a="http://opensource.lk">
>   <bar1 b:attr="test attr value1" xmlns:b="http://opensource.lk/ns1">test1</bar1>
>   <bar2 b:attr="test attr value2" xmlns:b="http://opensource.lk/ns1">test2</bar2>
> </foo>
> Produced output is:
> <foo xmlns:a="http://opensource.lk">
>   <bar1 b:attr="test attr value1">test1</bar1>
>   <bar2 b:attr="test attr value2">test2</bar2>
> </foo>
> Note that the attribute namespaces are missing.
> This is a blocker for the WS-Security interop tests :-(
> Will attach a test to reproduce the problem.

-- 
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-192) OM Serialization drops attribute namespaces

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

    Fix Version: 0.92
     Resolution: Fixed

Fixed this issue. Had to change the attribute and namespace serialization order. 

Anyway, thanks Ruchith for finding this bug !! 

> OM Serialization drops attribute namespaces
> -------------------------------------------
>
>          Key: AXIS2-192
>          URL: http://issues.apache.org/jira/browse/AXIS2-192
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>     Reporter: Ruchith Udayanga Fernando
>     Assignee: Eran Chinthaka
>     Priority: Blocker
>      Fix For: 0.92
>  Attachments: AttrNsTest.java
>
> When serilizing following OMElement
> <foo xmlns:a="http://opensource.lk">
>   <bar1 b:attr="test attr value1" xmlns:b="http://opensource.lk/ns1">test1</bar1>
>   <bar2 b:attr="test attr value2" xmlns:b="http://opensource.lk/ns1">test2</bar2>
> </foo>
> Produced output is:
> <foo xmlns:a="http://opensource.lk">
>   <bar1 b:attr="test attr value1">test1</bar1>
>   <bar2 b:attr="test attr value2">test2</bar2>
> </foo>
> Note that the attribute namespaces are missing.
> This is a blocker for the WS-Security interop tests :-(
> Will attach a test to reproduce the problem.

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