Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4799 Umbrella ticket for XPath improvements
  3. CAMEL-4759

Balance up xpath XML element with Java DSL equivalent

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.4, 2.9.0
    • 2.10.0
    • camel-core, camel-saxon
    • None
    • Patch Available
    • Unknown

    Description

      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.:

      <xpath factory="net.sf.saxon.xpath.XPathFactoryImpl">...</xpath>
      
      <xpath objectModel="http://saxon.sf.net/jaxp/xpath/om">...</xpath>
      

      (this one somehow feels ugly, is the objectModel supposed to be a namespace?)

      <xpath saxon="true">...</xpath>
      

      Only one should be allowed at a time.

      Attachments

        Activity

          People

            raulvk Raúl Kripalani
            raulvk Raúl Kripalani
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: