Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-343

QName in xsi-type attribute value's prefix losing defining namespace declaration.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.3.2
    • None
    • None

    Description

      During BPEL Assign's in certain scenarios namespace prefix declarations which are required to maintain valid qnames in attribute values are dropped. This is a bit of a problem for me as it renders my XML documents invalid as they pass through ODE

      I will attach a test process that exhibits the issue in due-course. If using SoapUI the following request should be valid:

      <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:myns="myns">
      <soapenv:Header/>
      <soapenv:Body>
      <myns:hello>
      <myns:in xsi:type="myns:DustyMagicPixie">
      <myns:value>Test message</myns:value>
      <myns:dust>fooo</myns:dust>
      </myns:in>
      </myns:hello>
      </soapenv:Body>
      </soapenv:Envelope>

      The response will have lost the prefix declaration for the namespace 'myns', but the xsi:type attribute on the myns:out element will still refer to this prefix, which will no longer map to any valid namespace . Currently I think the latest version of ODE also un-neccessarily redeclares the xsi namespace, which it never used to do before.

      Attachments

        1. HelloWorld2.zip
          8 kB
          Ciaran Jessup

        Issue Links

          Activity

            People

              mriou Matthieu Riou
              javajunky Ciaran Jessup
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: