Balance up xpath XML element with Java DSL equivalent
-----------------------------------------------------

                 Key: CAMEL-4759
                 URL: https://issues.apache.org/jira/browse/CAMEL-4759
             Project: Camel
          Issue Type: Bug
          Components: camel-core, camel-saxon
    Affects Versions: 2.8.4, 2.9.0
            Reporter: Raul Kripalani


The <xpath> XML element in Spring DSL doesn't allow to set the following 
options which are available on Java DSL:
* factory
* object model
* shortcut to use Saxon

These options should be implemented as attributes on the xpath XML element, 
e.g.:

{code}
<xpath factory="net.sf.saxon.xpath.XPathFactoryImpl">...</xpath>
{code}

{code}
<xpath objectModel="http://saxon.sf.net/jaxp/xpath/om";>...</xpath>
{code}
(this one somehow feels ugly, is the objectModel supposed to be a namespace?)

{code}
<xpath saxon="true">...</xpath>
{code}

Only one should be allowed at a time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to