I'm having some issues running the xpath on my split. I know the Xpath for
the Choice isn't the best, but it works for now.

I'm getting errors saying:
Invalid xpath: //*[local-name()='QUCR_IN200101BC'],
//*[local-name()='GetDemographics']. Reason:
javax.xml.xpath.XPathExpressionException

Here's what I have:



The Xpath I have for the Split works perfectly fine in Altova XML Spy, yet
bombs here.  I was under the impression that on the Split, the Xpath would
return a NodeList which would be iterated through. The Xpath I have does do
this.

XML structure (I removed the nodes that don't matter). THe XML has a
Namespace, which I've added to my Spring XML.

<v3:MCCI_IN200100BC>
    <GetDemographics>
    </GetDemographics>
    <v3:QUCR_IN2001>
    </v3:QUCR_IN2001>
</v3:MCCI_IN200100BC>


Any Thoughts?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Split-and-Xpath-tp5731569.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to