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:28:40 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=62091#action_62091 ] 

Claus Ibsen commented on CAMEL-3155:
------------------------------------

See for example
http://www.edankert.com/defaultnamespaces.html

> 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
>            Assignee: Claus Ibsen
>            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.