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

Xpath is not namespace aware in choice

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.14.0
    • Fix Version/s: 2.12.5, 2.13.3, 2.14.1, 2.15.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: