Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 10466 invoked from network); 25 Oct 2010 07:32:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Oct 2010 07:32:05 -0000 Received: (qmail 43327 invoked by uid 500); 25 Oct 2010 07:32:05 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 43301 invoked by uid 500); 25 Oct 2010 07:32:05 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 43293 invoked by uid 500); 25 Oct 2010 07:32:05 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 43290 invoked by uid 99); 25 Oct 2010 07:32:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Oct 2010 07:32:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Oct 2010 07:32:03 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9P7VfwZ011052 for ; Mon, 25 Oct 2010 07:31:41 GMT Message-ID: <29971224.66651287991901902.JavaMail.jira@thor> Date: Mon, 25 Oct 2010 03:31:41 -0400 (EDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-3155) Default namespace not handled by .when(xpath(string)) In-Reply-To: <6245475.30811285351840371.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-3155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-3155. -------------------------------- Resolution: Working as Designed Fix Version/s: 2.6.0 Not possible with the JDK XPath > 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 > Fix For: 2.6.0 > > 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.