Re: xslt task problem (xpath expression)

2010-05-25 Thread Scot P. Floess
I believe the builtin XPath/XSLT is 1.0 only - not 2.0. You will have to enable Saxon to use it... On Tue, 25 May 2010, Jakob Fix wrote: Hi, any idea why the following xpath expressions are not understood by ant's builtin xsl task? Doesn't seem out-of-spec to me, and saxon groks it, the st

Re: xslt task only on files in a subdirectory

2009-08-13 Thread brian m. carlson
On Thu, Aug 13, 2009 at 09:38:12PM +, brian m. carlson wrote: > I've looked through the both the manual and the past few months of list > archives and didn't see any clues; Google has been similarly unhelpful. Ah, I found the problem: I needed to use the useImplicitFileset="false" option, whic

RE: xslt Task

2009-03-09 Thread cknell
> The XSLT runs fine together with Saxon processor. Then use the Saxon processor in ANT. I set the CLASSPATH to include the saxon.jar file, then I set the value of the "processor" attribute to "trax" as shown below. processor="trax" -- Charles Knell ckn...@onebox.com - email -Origina

Re: xslt Task

2009-03-09 Thread Francis Galiegue
Le lundi 09 mars 2009, Knuplesch, Juergen a écrit : > Hello, > > we want to intergrate a xsl-Transformation into our Buildprocess. The XSLT runs fine together with Saxon processor. Inside Ant it does not run. > > Why cant Ants XSLT not understnad this XSLT? > > What is a good solution? > Integr

Re: XSLT task fail rerouting

2008-04-17 Thread Mario Madunic
Thank you Steve for the quick response. How do I post a feature request. I've never used bugzilla and when I went to the site I found it a bit daunting. I've found Antxtras that should be able to help. When I figure it out I'll post it to the list. Marijan (Mario) Madunic Quoting Steve Loughran

Re: XSLT task fail rerouting

2008-04-16 Thread Steve Loughran
Madunic, Marijan (RBI-US) wrote: I've been looking at the attributes available to the XSLT task on do not see an attribute to define what to do if the xslt task fails. A bit of background first. Myself and a colleague are parsing 10s of thousands of XML files and every now and then an ill fo

Re: XSLT task in Ant 1.7.0+saxon8 fails when processing more than one file

2007-02-05 Thread Carlos
I've found a workaround: using reloadstylesheet="true". Could it be then a problem with Saxon? But then, why is it working with Ant 1.6.5? Thanks, Carlos Carlos wrote: > > Hi. I'm using Ant 1.7.0 and I need XSLT 2.0, so I'm using saxon8.jar > by adding a "classpath" element to the "xslt" ele

Re: xslt task and style

2006-12-15 Thread Antoine Levy-Lambert
Hi, in Ant 1.7, it will be possible to use a resource as a stylesheet. Regards, Antoine On Dec 10, 2006, at 11:56 AM, Dominique Devienne wrote: is it possible to use in 'style' attribute of xslt task style definition like http

Re: xslt task fails with : Fatal Error! Content is not allowed in prolog.

2005-09-02 Thread Juergen Hermann
On Thu, 1 Sep 2005 10:27:16 -0700 (PDT), Thomas SMETS wrote: your problem is not the task, but either your .xml or .xsl file, one of them is not well-formed. >My XSLT to transform the XML report from checkstyle fails with the following message : > Fatal Error! Content is not allowed in prolog

Re: Xslt task defaults to XSLTC with jdk1.5?

2005-07-19 Thread Simon Kitching
On Tue, 2005-07-19 at 12:42 -0400, Robert Koberg wrote: > Hi, > > Is it expected behavior for the Xslt task to default to XSLTC when using > jdk1.5? It does. When I threw the xalan jar in the ant lib directory it > used xalan-j. Perhaps it has to do with Sun's renaming of the xalan > classes (c

Re: Xslt task and DOCTYPE

2005-05-03 Thread Robert Koberg
CLAVIER Remi RD-CORE-LAN wrote: How to force an XSLT transformation To ignore a DTD declared inside the input XML file ? It would be the XML parser that would need to ignore it. You most likely want to use a catalog resolver to set up a local version of the dtd. http://ant.apache.org/manual/Co

Re: XSLT Task with external Saxon8

2005-01-17 Thread Anthony B. Coates
I'm not planning to develop the 'mtxslt' task further, since I haven't felt it as necessary for Ant 1.6 as it was for Ant 1.5. That said, I use Saxon 8 regularly, but I do so by setting the classpath environment variable to include the Saxon JAR file. I must admit, it is a disappointment to