You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Aki Yoshida (JIRA)" <ji...@apache.org> on 2012/12/10 13:03:21 UTC

[jira] [Created] (CXF-4689) stax outTransform feature may fail to remove the default namespace from an element

Aki Yoshida created CXF-4689:
--------------------------------

             Summary: stax outTransform feature may fail to remove the default namespace from an element
                 Key: CXF-4689
                 URL: https://issues.apache.org/jira/browse/CXF-4689
             Project: CXF
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.7.0
            Reporter: Aki Yoshida
            Assignee: Aki Yoshida


The stax outTransform feature may fail to remove the default namespace from an element.

For example, if you have an input message:

    <greetMe xmlns="http://cxf.apache.org/hello_world_soap_http/types2">
      <requestType>Tanya</requestType>
    </greetMe>

and when you set outTransformElements with entry
<entry key="{http://cxf.apache.org/hello_world_soap_http/types2}requestType" value="requestType">

The outTranform feature fails to remove the namespace from requestType.

The correct behavior would be to produce the output message:
    <greetMe xmlns="http://cxf.apache.org/hello_world_soap_http/types2">
      <requestType xmlns="">Tanya</requestType>
    </greetMe>



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira