You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/09/25 08:11:40 UTC

[jira] Updated: (CAMEL-3155) Default namespace not handled by .when(xpath(string))

     [ https://issues.apache.org/activemq/browse/CAMEL-3155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-3155:
-------------------------------

    Issue Type: Improvement  (was: Bug)

This is how the XPath works in the JDK.

But the other day I thought this was annoying as well, for example if there is only one default namespace in the message.
Then it would be great if the xpath could cater for this anyhow.


> Default namespace not handled by .when(xpath(string))
> -----------------------------------------------------
>
>                 Key: CAMEL-3155
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3155
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.4.0
>         Environment: Apache Maven 3.0-alpha-5 (r883378; 2009-11-23 07:53:41-0800)
> Java version: 1.6.0_17
> Java home: C:\Program Files\Java\jdk1.6.0_17\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "x86" Family: "windows"
>            Reporter: Malachi de AElfweald
>            Priority: Minor
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> If I do a .choice().when(xpath("//rootnode")) it fails to find any matches unless I preprocess and remove the xmlns="blah" (autogenerated by JAXB on the other end)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.