Hi Claus, Ok that does really look easy, I will prepare a patch and append it to the JIRA task. However I didn't manage to find any tests for that. In org.apache.camel.language are only tests using the Java DSL and in org.apache.camel.model and I didn't find any XPath related tests. 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 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/CAMEL-8182 [...] -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/