Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4799

Umbrella ticket for XPath improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.10.0
    • camel-core, camel-spring
    • None
    • Unknown

    Description

      As agreed with Claus Ibsen over IRC, this ticket will group several XPath language improvements as sub-tasks. At least the following will be included:

      • Balance up the XPath Java DSL with Spring DSL, namely to be able to specify Saxon as the XPathFactory from Spring DSL
      • Crank up the logging for more verbosity when dealing with namespaces and during the evaluation process
      • Improve namespace handling to make it more intelligent (e.g. if the XML doc has a default namespace and no other namespaces, and the XPath expression doesn't specify one, assume that the expression should be evaluated against the default namespace)
      • Result QName definition to work with Saxon Object Model and XPath 2 constructs which are not embraced by JAXP (e.g. sequences), and possibly some type converters (still under evaluation)
      • Balance up the Scala DSL if necessary

      Attachments

        1. changeTraceNamespacesToLogNamespaces.diff
          9 kB
          Raúl Kripalani
        2. xpathBalancingAndNamespaceTracing.diff
          42 kB
          Raúl Kripalani

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: