You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Terrien Jean-Yves (JIRA)" <ji...@apache.org> on 2018/03/30 11:06:00 UTC

[jira] [Created] (CAMEL-12416) standardization of api xpath.

Terrien Jean-Yves created CAMEL-12416:
-----------------------------------------

             Summary: 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


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.3#76005)