camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malachi de AElfweald (JIRA)" <>
Subject [jira] Commented: (CAMEL-3155) Default namespace not handled by .when(xpath(string))
Date Sat, 25 Sep 2010 16:55:40 GMT


Malachi de AElfweald commented on CAMEL-3155:

I brought this issue up with the JDOM list back in 2003.

Currently, this is a real hassle because to use xpath and jaxb together in camel, you have
to remove the namespace from the string before when(xpath()) then add it back in for each
of them that want to process with jaxb.

Do you know of a better way around it?

> Default namespace not handled by .when(xpath(string))
> -----------------------------------------------------
>                 Key: CAMEL-3155
>                 URL:
>             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.

View raw message