Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 74098DA50 for ; Tue, 5 Mar 2013 01:43:43 +0000 (UTC) Received: (qmail 30944 invoked by uid 500); 5 Mar 2013 01:43:41 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 30890 invoked by uid 500); 5 Mar 2013 01:43:41 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 30829 invoked by uid 99); 5 Mar 2013 01:43:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 01:43:41 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of willem.jiang@gmail.com designates 209.85.160.52 as permitted sender) Received: from [209.85.160.52] (HELO mail-pb0-f52.google.com) (209.85.160.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 01:43:36 +0000 Received: by mail-pb0-f52.google.com with SMTP id ma3so3708144pbc.39 for ; Mon, 04 Mar 2013 17:43:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:message-id:in-reply-to:references:subject :x-mailer:mime-version:content-type:content-transfer-encoding :content-disposition; bh=kMWQMDaq3GbCyBpavHGpA3x9n/jP5HO3sfBlflDgjvA=; b=jJUun20vbXStI7yUYfw5kpL8cBG6aCZ54TZHJWS2/XnEPC6pcmYupUiajL/8ayuyz1 By4JOkdP5xNHU3GHjYq54t48Zsw9Q1UivfQR8Mk/aAjvbMymJNLlvRJsogDqCw6pq1oO 4US14BQ7x+Jt6/S3KWcnpIYtB+W8Jm4yIG8EszeAwQKxw3n4xVXnrSZ2UFBkgXJiB2OX TCGSoGsP6QPyW/BnMVvY9mKX3210DUr+/0dYgLYmy2V2S1AhbnE0+v9Nj7nNw/IwEIzU SoaRjF5/AHToidQO7vxNSEOWoQWl7ghiAXi/ObwQmJSCtbTX/X8J672ve25IePCqxHbj e+yw== X-Received: by 10.68.233.229 with SMTP id tz5mr32427451pbc.172.1362447794782; Mon, 04 Mar 2013 17:43:14 -0800 (PST) Received: from [192.168.1.135] ([123.116.54.252]) by mx.google.com with ESMTPS id pg6sm24415103pbb.0.2013.03.04.17.43.09 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 04 Mar 2013 17:43:13 -0800 (PST) Date: Tue, 5 Mar 2013 09:43:03 +0800 From: Willem jiang To: users@camel.apache.org Message-ID: <220EBFCBB519430E88F3E342EBC87A45@gmail.com> In-Reply-To: <1362432388663-5728490.post@n5.nabble.com> References: <1362432388663-5728490.post@n5.nabble.com> Subject: Re: Camel XQuery - Saxon X-Mailer: sparrow 1.6.4 (build 1176) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, What's stack trace look like=3F Can you submit a simple test case for it=EF=BC=9F -- =20 Willem Jiang Red Hat, Inc. =46useSource is now part of Red Hat Web: http://www.fusesource.com =7C http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) = (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang =20 Weibo: =E5=A7=9C=E5=AE=81willem On Tuesday, March 5, 2013 at 5:26 AM, Phobos wrote: > =20 > Hi, > =20 > Saxon allows for java methods to invoke from XQuery, for example; > =20 > declare namespace math=3Djava:java.lang.Math; > =20 > let =24r :=3D math:random() > =20 > return =24r > =20 > It would appear that this doesn't work out of the box in the Camel > implementation. Does anyone know how to enable this=3F > =20 > Thanks > =20 > =20 > =20 > -- > View this message in context: http://camel.465427.n5.nabble.com/Camel-X= Query-Saxon-tp5728490.html > Sent from the Camel - Users mailing list archive at Nabble.com (http://= Nabble.com).