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

Xpath is not namespace aware in choice

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.14.0
    • 2.12.5, 2.13.3, 2.14.1, 2.15.0
    • camel-core
    • None
    • Unknown

    Description

      I have a route (XML definition) containing a choice based on xpath expressions. The xpath expressions are using custom namespaces. After migration from camel 2.13.2 to camel 2.14.0 the namespaces are not registered to the XpathExpression and XPathBuilder anymore.

      XPath in "setProperty" definitions referencing the same namespaces still work fine.

      Attachments

        1. test.zip
          6 kB
          Oliver Holzmann

        Activity

          People

            njiang Willem Jiang
            OHolzma Oliver Holzmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: