Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2E303105C4 for ; Mon, 7 Apr 2014 11:30:19 +0000 (UTC) Received: (qmail 17378 invoked by uid 500); 7 Apr 2014 11:30:18 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 17340 invoked by uid 500); 7 Apr 2014 11:30:17 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 17325 invoked by uid 99); 7 Apr 2014 11:30:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2014 11:30:16 +0000 Date: Mon, 7 Apr 2014 11:30:16 +0000 (UTC) From: "Richard Groote (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CAMEL-7348) XPath & javax.xml.transform.Source MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-7348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Groote closed CAMEL-7348. --------------------------------- Resolution: Not a Problem > XPath & javax.xml.transform.Source > ---------------------------------- > > Key: CAMEL-7348 > URL: https://issues.apache.org/jira/browse/CAMEL-7348 > Project: Camel > Issue Type: Improvement > Reporter: Richard Groote > > Following pseudo camel route gives a "end of file" exception when the bean call uses a javax.xml.transform.Source. The XPATH reads the body and applies the xpath. After the xpath call the source has been read and therefore the xslt will fail with the end of file exception. > Is it not possible that the xpath resets of makes a copy of the source. Current alternative is use the convertBody(String) after the bean call > > > > //xpath > > > -- This message was sent by Atlassian JIRA (v6.2#6252)