[
https://issues.apache.org/jira/browse/CAMEL-7839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oliver Holzmann updated CAMEL-7839:
-----------------------------------
Attachment: test.zip
The test in the attached project works with camel 2.13.2, but it fails with
2.14.0.
It is based on spring and uses an imported route context like my real project
is also doing. When the route context is included in the camel-context xml file
(like in
/camel/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/xpathFilterWithNamespaceOnRouteContext.xml)
the namespaces are registered correct and the test succeeds.
> Xpath is not namespace aware in choice
> --------------------------------------
>
> Key: CAMEL-7839
> URL: https://issues.apache.org/jira/browse/CAMEL-7839
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.14.0
> Reporter: Oliver Holzmann
> Attachments: test.zip
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)