Re: Question about documentType in XPathBuilder

2015-01-19 Thread Claus Ibsen
Hi Thanks for the patch. On Mon, Jan 19, 2015 at 2:19 PM, Siano, Stephan wrote: > Hi Claus, > > Ok, thanks. I didn't find anything in camel-jaxb, but camel-saxon does indeed > contain some XML configurations for XPath. I extended the tests there and > attached the patch to > https://issues.apa

RE: Question about documentType in XPathBuilder

2015-01-19 Thread Siano, Stephan
Hi Claus, Ok, thanks. I didn't find anything in camel-jaxb, but camel-saxon does indeed contain some XML configurations for XPath. I extended the tests there and attached the patch to https://issues.apache.org/jira/browse/CAMEL-8182 . Is this ok? Best regards Stephan

Re: Question about documentType in XPathBuilder

2015-01-19 Thread Claus Ibsen
sage- > From: Claus Ibsen [mailto:claus.ib...@gmail.com] > Sent: Samstag, 17. Januar 2015 11:34 > To: dev > Subject: Re: Question about documentType in XPathBuilder > > Ad 2) > I think there is already a JIRA about that. Its not so hard to do, > look in the model.language pac

RE: Question about documentType in XPathBuilder

2015-01-18 Thread Siano, Stephan
ts. Do you know where these tests are? Best regards Stephan -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Samstag, 17. Januar 2015 11:34 To: dev Subject: Re: Question about documentType in XPathBuilder Ad 2) I think there is already a JIRA about that. Its not so

Re: Question about documentType in XPathBuilder

2015-01-17 Thread Claus Ibsen
Ad 2) I think there is already a JIRA about that. Its not so hard to do, look in the model.language packages of camel-core, and add a getter/setter and jaxb annotation for it to be in the xsd. And add the logic to configure it as well, like the other options. https://issues.apache.org/jira/browse/

Question about documentType in XPathBuilder

2015-01-16 Thread Siano, Stephan
Hi, If you look into the XPathBuilder in camel (actually the doInEvaluateAs() method), you see that the data that the evaluated with the XPath expression (a header or the body) is first converted into a data type defined in the documentType attribute of the XPath builder. Afterwards the express