[ 
https://issues.apache.org/jira/browse/CAMEL-4799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179336#comment-13179336
 ] 

Claus Ibsen commented on CAMEL-4799:
------------------------------------

I wonder if we should log at INFO level instead of TRACE? The reason is that it 
makes it easier for Camel ends to use, as all they have to do is to enable the 
trace namespace option, and it will get logged.

Now they also need to enable TRACE logging option which for some end users is 
not so easy. For example they do not know the logger name etc.

And maybe we should rename the option from traceNamespaces, to logNamespaces ?

                
> Umbrella ticket for XPath improvements
> --------------------------------------
>
>                 Key: CAMEL-4799
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4799
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-spring
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10
>
>         Attachments: xpathBalancingAndNamespaceTracing.diff
>
>
> As agreed with Claus Ibsen over IRC, this ticket will group several XPath 
> language improvements as sub-tasks. At least the following will be included:
> * Balance up the XPath Java DSL with Spring DSL, namely to be able to specify 
> Saxon as the XPathFactory from Spring DSL
> * Crank up the logging for more verbosity when dealing with namespaces and 
> during the evaluation process
> * Improve namespace handling to make it more intelligent (e.g. if the XML doc 
> has a default namespace and no other namespaces, and the XPath expression 
> doesn't specify one, assume that the expression should be evaluated against 
> the default namespace)
> * Result QName definition to work with Saxon Object Model and XPath 2 
> constructs which are not embraced by JAXP (e.g. sequences), and possibly some 
> type converters (still under evaluation)
> * Balance up the Scala DSL if necessary

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to