[
https://issues.apache.org/jira/browse/CAMEL-12416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-12416.
---------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
You can set namespace now on both use-cases
> standardization of api xpath.
> -----------------------------
>
> Key: CAMEL-12416
> URL: https://issues.apache.org/jira/browse/CAMEL-12416
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.16.2
> Reporter: Terrien Jean-Yves
> Priority: Trivial
> Fix For: 3.0.0
>
>
> standardization of api xpath.
> if you use the syntax .setHeader("name"). xpath (...) it is possible to
> define the namespaces.
> if you use the syntax .setHeader("name", xpath (...)) you can not specify the
> namesapces.
> in the syntax .setHeader ("name"). xpath (...) the xpath methods are defined
> in ExpressionClauseSupport. these methods use new XPathExpression.
> the syntax .setHeader ("name", xpath (...)) the methods are defined in
> BuilderSupport. these methods use XPathBuilder
> could not we standardize all that to have the same syntax in both cases.?
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)