You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org> on 2013/07/19 20:26:48 UTC

[jira] [Resolved] (SYNAPSE-911) Enrich Mediator - Cannot enrich an Attribute value of an Element

     [ https://issues.apache.org/jira/browse/SYNAPSE-911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiranya Jayathilaka resolved SYNAPSE-911.
-----------------------------------------

    Resolution: Fixed

Applied the patch with a test case. Thanks Nuwan for the contribution.
                
> Enrich Mediator - Cannot enrich an Attribute value of an Element
> ----------------------------------------------------------------
>
>                 Key: SYNAPSE-911
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-911
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Nuwan Dias
>            Assignee: Hiranya Jayathilaka
>         Attachments: SYNAPSE-911.patch
>
>
> See the following xml
> <student xmlns="" gender="female">                                    
>      <name>John</name>                                    
>      <age>15</age>                              
> </student>
> If we intend to change the value of the 'gender' attribute of the 'student' element by setting the Enrich mediator's target's xpath expression as "//student/@gender", it will throw a SynapseException saying "Invalid Target object to be enrich."

--
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

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