Re: [Dev] Issue: .XPathException: Required item type of first operand of '/' is node(); supplied value has item type xs:string

2017-02-12 Thread Jorge
Hi Harshana, the workaround work for me. thanks. Any idea about when this issue will be fixed? Regards, Jorge. 2017-02-12 2:08 GMT-05:00, Harshana Eranga Martin : > Hi Jorge, > > I had a similar requirement and here is what i did to overcome the issue. > > I

Re: [Dev] Issue: .XPathException: Required item type of first operand of '/' is node(); supplied value has item type xs:string

2017-02-11 Thread Harshana Eranga Martin
Hi Jorge, I had a similar requirement and here is what i did to overcome the issue. I appended the complex XML element to Current payload using a combination of Property mediator (To wrap the complex XML Element with a known Root element) and enriched the current payload using Enrich Mediator

[Dev] Issue: .XPathException: Required item type of first operand of '/' is node(); supplied value has item type xs:string

2017-02-11 Thread Jorge
Hi all, any workaround for this bug: https://wso2.org/jira/si/jira.issueviews:issue-html/ESBJAVA-4509/ESBJAVA-4509.html I need to pass 2 complex XML as parameters to a xslt in ESB 5.0.0 with this error: [2017-02-11 20:56:29,320] ERROR - XSLTMediator Unable to perform XSLT transformation using :