You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Colin (JIRA)" <ji...@apache.org> on 2008/07/31 16:08:32 UTC

[jira] Created: (ODE-352) Type attribute replaces xsi-type attribute value

Type attribute replaces xsi-type attribute value
------------------------------------------------

                 Key: ODE-352
                 URL: https://issues.apache.org/jira/browse/ODE-352
             Project: ODE
          Issue Type: Bug
    Affects Versions: 1.3
            Reporter: Colin
             Fix For: 1.3


This is related to ODE-343, see for context. 

The xsi:type attribute goes missing when you define a type attribute.

Example:

<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" type="Why"> 
            <myns:value>Test message</myns:value> 
            <myns:dust>fooo</myns:dust> 
         </myns:in> 
      </myns:hello> 
   </soapenv:Body> 
</soapenv:Envelope> 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-352) Type attribute replaces xsi-type attribute value

Posted by "Matthieu Riou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthieu Riou updated ODE-352:
------------------------------

    Fix Version/s:     (was: 1.3)
                   2.0

> Type attribute replaces xsi-type attribute value
> ------------------------------------------------
>
>                 Key: ODE-352
>                 URL: https://issues.apache.org/jira/browse/ODE-352
>             Project: ODE
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Colin
>             Fix For: 2.0
>
>         Attachments: HelloWorld2.zip, PatchToSupportMultipleAttributesWithTheSameLocalNameButDifferentNamespaces.patch
>
>
> This is related to ODE-343, see for context. 
> The xsi:type attribute goes missing when you define a type attribute.
> Example:
> <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" type="Why"> 
>             <myns:value>Test message</myns:value> 
>             <myns:dust>fooo</myns:dust> 
>          </myns:in> 
>       </myns:hello> 
>    </soapenv:Body> 
> </soapenv:Envelope> 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-352) Type attribute replaces xsi-type attribute value

Posted by "Ciaran Jessup (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ciaran Jessup updated ODE-352:
------------------------------

    Attachment: PatchToSupportMultipleAttributesWithTheSameLocalNameButDifferentNamespaces.patch

This verbosely named patch should provide support for elements that contain multiple attributes with the same local name, but belonging to different namespaces.  Without it, the last repeated local-name attribute wins ;)

> Type attribute replaces xsi-type attribute value
> ------------------------------------------------
>
>                 Key: ODE-352
>                 URL: https://issues.apache.org/jira/browse/ODE-352
>             Project: ODE
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Colin
>             Fix For: 1.3
>
>         Attachments: PatchToSupportMultipleAttributesWithTheSameLocalNameButDifferentNamespaces.patch
>
>
> This is related to ODE-343, see for context. 
> The xsi:type attribute goes missing when you define a type attribute.
> Example:
> <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" type="Why"> 
>             <myns:value>Test message</myns:value> 
>             <myns:dust>fooo</myns:dust> 
>          </myns:in> 
>       </myns:hello> 
>    </soapenv:Body> 
> </soapenv:Envelope> 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-352) Type attribute replaces xsi-type attribute value

Posted by "Colin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin updated ODE-352:
----------------------

    Affects Version/s:     (was: 1.3)
                       1.2

> Type attribute replaces xsi-type attribute value
> ------------------------------------------------
>
>                 Key: ODE-352
>                 URL: https://issues.apache.org/jira/browse/ODE-352
>             Project: ODE
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Colin
>             Fix For: 1.3
>
>
> This is related to ODE-343, see for context. 
> The xsi:type attribute goes missing when you define a type attribute.
> Example:
> <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" type="Why"> 
>             <myns:value>Test message</myns:value> 
>             <myns:dust>fooo</myns:dust> 
>          </myns:in> 
>       </myns:hello> 
>    </soapenv:Body> 
> </soapenv:Envelope> 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-352) Type attribute replaces xsi-type attribute value

Posted by "Ciaran Jessup (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ciaran Jessup updated ODE-352:
------------------------------

    Attachment: HelloWorld2.zip

The attached process should accept requests like:
<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" type="fff">
            <myns:value>Test message</myns:value>
            <myns:dust>fooo</myns:dust>
         </myns:in>
      </myns:hello>
   </soapenv:Body>
</soapenv:Envelope>

and respond with responses like:

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

Without the patch the responses look like :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <helloResponse xmlns="myns">
         <out type="fff">
            <value>Test message</value>
            <dust>fooo</dust>
         </out>
      </helloResponse>
   </soapenv:Body>
</soapenv:Envelope>

which obviously isn't quite what we want ;)


> Type attribute replaces xsi-type attribute value
> ------------------------------------------------
>
>                 Key: ODE-352
>                 URL: https://issues.apache.org/jira/browse/ODE-352
>             Project: ODE
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Colin
>             Fix For: 1.3
>
>         Attachments: HelloWorld2.zip, PatchToSupportMultipleAttributesWithTheSameLocalNameButDifferentNamespaces.patch
>
>
> This is related to ODE-343, see for context. 
> The xsi:type attribute goes missing when you define a type attribute.
> Example:
> <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" type="Why"> 
>             <myns:value>Test message</myns:value> 
>             <myns:dust>fooo</myns:dust> 
>          </myns:in> 
>       </myns:hello> 
>    </soapenv:Body> 
> </soapenv:Envelope> 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.