You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Matt Shaw (JIRA)" <ji...@apache.org> on 2007/12/12 12:24:43 UTC

[jira] Created: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

XLST Mediator Issue when using xsi namespace in the Body of Message
-------------------------------------------------------------------

                 Key: SYNAPSE-191
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
             Project: Synapse
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1
         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
            Reporter: Matt Shaw


When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.

Thanks

Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

Posted by "Matt Shaw (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555593#action_12555593 ] 

Matt Shaw commented on SYNAPSE-191:
-----------------------------------

Hi Ruwan,

I've sent the file so hopefully you should have received it by now.

Matt

> XLST Mediator Issue when using xsi namespace in the Body of Message
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-191
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1
>         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
>            Reporter: Matt Shaw
>            Assignee: Ruwan Linton
>             Fix For: 1.1.1
>
>         Attachments: WebServiceResponse.xml
>
>
> When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.
> Thanks
> Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556515#action_12556515 ] 

Asankha C. Perera commented on SYNAPSE-191:
-------------------------------------------

Matt

I tried to reproduce this issue with the XSLT you sent and for the exact response you have attached, but everything worked fine for me.

asankha

> XLST Mediator Issue when using xsi namespace in the Body of Message
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-191
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1
>         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
>            Reporter: Matt Shaw
>            Assignee: Ruwan Linton
>             Fix For: 1.1.1
>
>         Attachments: WebServiceResponse.xml
>
>
> When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.
> Thanks
> Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555489#action_12555489 ] 

Ruwan Linton commented on SYNAPSE-191:
--------------------------------------

I tried this sometime back in December and it worked. Is it possible to send the xslt that you are using to transform the message so that I can have a look again. It seems like the xslt transformer has an issue with the xsi namespace.

Further when I debug this I saw that the element fed to the xslt processor contains the xsi namespace declaration.

> XLST Mediator Issue when using xsi namespace in the Body of Message
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-191
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1
>         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
>            Reporter: Matt Shaw
>            Assignee: Ruwan Linton
>             Fix For: 1.1.1
>
>         Attachments: WebServiceResponse.xml
>
>
> When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.
> Thanks
> Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Updated: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

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

Ruwan Linton updated SYNAPSE-191:
---------------------------------

    Fix Version/s: 1.1.1
         Assignee: Ruwan Linton

Changed the fix version and assigned

> XLST Mediator Issue when using xsi namespace in the Body of Message
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-191
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1
>         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
>            Reporter: Matt Shaw
>            Assignee: Ruwan Linton
>             Fix For: 1.1.1
>
>         Attachments: WebServiceResponse.xml
>
>
> When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.
> Thanks
> Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556666#action_12556666 ] 

Andreas Veithen commented on SYNAPSE-191:
-----------------------------------------

I don't understand very well why this is a duplicate of SYNAPSE-187. Can somebody elaborate?

> XLST Mediator Issue when using xsi namespace in the Body of Message
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-191
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1
>         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
>            Reporter: Matt Shaw
>            Assignee: Asankha C. Perera
>             Fix For: 1.1.1-QA-B2
>
>         Attachments: WebServiceResponse.xml
>
>
> When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.
> Thanks
> Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551476 ] 

Ruwan Linton commented on SYNAPSE-191:
--------------------------------------

Matt,

Can you please attach a sample message which is returned from that proxy service so that I can try this?

At the same time if you can attach the synapse debug log that will be helpful for the diagnosis.

Thanks,
Ruwan

> XLST Mediator Issue when using xsi namespace in the Body of Message
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-191
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1
>         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
>            Reporter: Matt Shaw
>
> When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.
> Thanks
> Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555535#action_12555535 ] 

Ruwan Linton commented on SYNAPSE-191:
--------------------------------------

Hi Matt,

That should be ok. I am ruwan@wso2.com. Looking forward to test the exact scenario.

Thanks,
Ruwan

> XLST Mediator Issue when using xsi namespace in the Body of Message
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-191
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1
>         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
>            Reporter: Matt Shaw
>            Assignee: Ruwan Linton
>             Fix For: 1.1.1
>
>         Attachments: WebServiceResponse.xml
>
>
> When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.
> Thanks
> Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Resolved: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

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

Asankha C. Perera resolved SYNAPSE-191.
---------------------------------------

    Resolution: Duplicate
      Assignee: Asankha C. Perera  (was: Ruwan Linton)

duplicate of SYNAPSE-187 which was fixed

> XLST Mediator Issue when using xsi namespace in the Body of Message
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-191
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1
>         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
>            Reporter: Matt Shaw
>            Assignee: Asankha C. Perera
>             Fix For: 1.1.1
>
>         Attachments: WebServiceResponse.xml
>
>
> When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.
> Thanks
> Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

Posted by "Matt Shaw (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555529#action_12555529 ] 

Matt Shaw commented on SYNAPSE-191:
-----------------------------------

Hi Ruwan,

Could I email you the file as I'd rather not publish it on this forum.  What email address should I send it to ?

Matt


> XLST Mediator Issue when using xsi namespace in the Body of Message
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-191
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1
>         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
>            Reporter: Matt Shaw
>            Assignee: Ruwan Linton
>             Fix For: 1.1.1
>
>         Attachments: WebServiceResponse.xml
>
>
> When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.
> Thanks
> Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Updated: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

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

Matt Shaw updated SYNAPSE-191:
------------------------------

    Attachment: WebServiceResponse.xml

Here is the web service response from the end point service which has a reference to xsi within it.

I'll follow up with the log files.

Matt


> XLST Mediator Issue when using xsi namespace in the Body of Message
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-191
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1
>         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
>            Reporter: Matt Shaw
>         Attachments: WebServiceResponse.xml
>
>
> When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.
> Thanks
> Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

Posted by "Matt Shaw (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551498 ] 

Matt Shaw commented on SYNAPSE-191:
-----------------------------------

Hi Ruwan,

I've turned on logging and looked through the files.  The XSL stylesheet adds some header info and then starts to process the message document and basically copies the elements into a new enclosing element.  There are no errors in the log but the copy elements (i.e. the first interaction with the message which contains the xsi use) fails and what gets returned is just the header added by the stylesheet.  If I remove any reference to xsi in the main web service everything works ok.  Unfortunately there are web services that we use that are out of our control to change.

Matt


> XLST Mediator Issue when using xsi namespace in the Body of Message
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-191
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1
>         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
>            Reporter: Matt Shaw
>         Attachments: WebServiceResponse.xml
>
>
> When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.
> Thanks
> Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556808#action_12556808 ] 

Asankha C. Perera commented on SYNAPSE-191:
-------------------------------------------

Andreas

Sorry for the confusion.. I made a slight mistake in saying this is a duplicate - whereas the resolution for this would require the solution for 187.. 

The actual XSLT output for this case provided my Matt generates two elements - and when we parse this into XML again to be included back into the message, we retain only the first element. So the fix for this exact issue is to specify source="//env:Body" and wrap the XSLT output into a "env:Body" element, which will replace the original body back again.. Due to maintaining confidentiality of the actual XSLT I am unable to paste it here, but I guess this description will help make things clear

asankha

> XLST Mediator Issue when using xsi namespace in the Body of Message
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-191
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1
>         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
>            Reporter: Matt Shaw
>            Assignee: Asankha C. Perera
>             Fix For: 1.1.1-QA-B2
>
>         Attachments: WebServiceResponse.xml
>
>
> When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.
> Thanks
> Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-191) XLST Mediator Issue when using xsi namespace in the Body of Message

Posted by "Matt Shaw (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556526#action_12556526 ] 

Matt Shaw commented on SYNAPSE-191:
-----------------------------------

I've responded to your email.

Matt


> XLST Mediator Issue when using xsi namespace in the Body of Message
> -------------------------------------------------------------------
>
>                 Key: SYNAPSE-191
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-191
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1
>         Environment: wso2esb-1.6-qa-b1, Java 1.5.0, Windows XP SP2
>            Reporter: Matt Shaw
>            Assignee: Ruwan Linton
>             Fix For: 1.1.1
>
>         Attachments: WebServiceResponse.xml
>
>
> When using the XSLT mediator to transform the result of a proxied web service.  If the proxied web service returns elements that use the xsi namespace within the Body, the XSLT transform fails.  I believe this is because the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" definition is normally contained within the Envelope element but when the XSLT meditor is invoked only the contents of the Body element are passed to the XSLT mediator.  Therefore the new XML fragment is not atomic and complete because the xsi defintion is lost.
> Thanks
> Matt

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org