Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4689

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.5.8, 2.6.5, 2.7.2
    • Core
    • None
    • Unknown

    Description

      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>

      Attachments

        Activity

          People

            ay Akitoshi Yoshida
            ay Akitoshi Yoshida
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: