Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 68021 invoked from network); 31 Mar 2006 11:49:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Mar 2006 11:49:03 -0000 Received: (qmail 20816 invoked by uid 500); 31 Mar 2006 11:49:00 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 20413 invoked by uid 500); 31 Mar 2006 11:48:58 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 20399 invoked by uid 99); 31 Mar 2006 11:48:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Mar 2006 03:48:58 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jakob.fix@gmail.com designates 66.249.82.196 as permitted sender) Received: from [66.249.82.196] (HELO xproxy.gmail.com) (66.249.82.196) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Mar 2006 03:48:57 -0800 Received: by xproxy.gmail.com with SMTP id h27so443266wxd for ; Fri, 31 Mar 2006 03:48:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=s50oY8Bj+0OhF72MAHU+tw/DPhJL5hP52waXDueBFSdHz3kpEg1F9CjeDikucnqXu13c52IRO9xaPhp3WNJIvqeY07hAGSFZTn0CkgAVeo8PHaODdWvyRr8WNqKQJW/9UVK3h9Q3TJrbc/Pu37p/NpZ84+2oIJXn98KUjdDNMGo= Received: by 10.70.49.1 with SMTP id w1mr341774wxw; Fri, 31 Mar 2006 03:48:36 -0800 (PST) Received: by 10.70.23.3 with HTTP; Fri, 31 Mar 2006 03:48:36 -0800 (PST) Message-ID: Date: Fri, 31 Mar 2006 13:48:36 +0200 From: "Jakob Fix" To: "Ant Users List" Subject: Re: ant xslt on java 1.5 In-Reply-To: <442D0E29.3030003@koberg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <442D0E29.3030003@koberg.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I use the mtxslt task which allows you to specify the processor to use. http://mtxslt.sourceforge.net/ On 3/31/06, Robert Koberg wrote: > Mark Lybarger wrote: > > i'll go ahead and reply to my own post. the "solution" seems to put > > xalan.jar into the ant lib folder. With it there, the task works, > > without that jar there, it doesn't work. > > > > I tried creating my own xslt task by extending the main task for ant's > > xslt. I thought this might get me around any classloader issues. I > > then put xalan.jar into the classpath of my task, but that gave the > > same results. > > > > Maybe I was still running into classloader issues. I'd really like > > to have a "working", standalone xslt task that allows me to specify > > the xmlcatalog and > > Hi, > > I think the problem is with SUN renaming the package that holds the > xalan classes. It makes XSLTC load first in Ant's code. (You were seeing > a bug in XSLTC trying to compile the XSL). > > Perhaps you could specify the processor attribute on the Xslt task. > Check out for more info on getting the right Transformer class (starts > with com.sun. now): > > http://java.sun.com/j2se/1.5.0/docs/guide/xml/jaxp/JAXP-Compatibility_150= .html#packageNames > > best, > -Rob > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > -- cheers, Jakob. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org