Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-09-20 Thread Stefan Bodewig
On 2013-09-20, Kerry, Richard wrote: > Thank you Stefan, that was very helpful, and informative regarding the path > loading issues. > I'm now definitely making some progress. Sounds good. > I've passed in ${resolverpath} via "-lib" and have ${catalogpath} in my > . > Where ${resolverpath} i

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-09-20 Thread Kerry, Richard
oup liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitte

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-09-13 Thread Stefan Bodewig
On 2013-09-13, Kerry, Richard wrote: > "ant-resolver.jar and xml-resolver.jar " > hang on a moment . what are these ? > I thought I just needed resolver.jar from xml-commons-resolver-1.2 > (assuming that's the latest), so what are these two ? xml-resolver.jar is the one from xml-co

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-09-13 Thread Kerry, Richard
message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitte From: Stefan Bodewig [bode...@a

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-09-13 Thread Martin Gainty
> From: richard.ke...@atos.net > To: user@ant.apache.org > Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example > Date: Fri, 13 Sep 2013 16:08:08 + > > > > Ok, right, good, back on this again for a while after a break . > > &

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Stefan Bodewig
On 2013-08-30, Kerry, Richard wrote: > I'm still unclear about this. Internally within Ant there seems to be > a Classpath that is some combination of CLASSPATH environment > variable, -cp parameter, , , id="class.path" >. . > Which one can/should I put my resolver's location in ? just define

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Stefan Bodewig
On 2013-08-30, Kerry, Richard wrote: > The text is in > ant.apache.org/manual/Types/xmlcatalog.html > and says (hoping the italic work) "In order to use an external catalog > file, the xml-commons resolver library ("resolver.jar") must be in > yo

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Kerry, Richard
ewig [bode...@apache.org] Sent: 30 August 2013 14:56 To: user@ant.apache.org Subject: Re: Use of XML Catalog with Ant (xslt task) - request for example On 2013-08-30, Martin Gainty wrote: > As the vast majority of Ant Developers came from C++ backgrounds > (usually writing JNI code...

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Kerry, Richard
is virus-free and will not be liable for any damages resulting from any virus transmitte From: Martin Gainty [mgai...@hotmail.com] Sent: 30 August 2013 14:37 To: Ant Users List Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Stefan Bodewig
On 2013-08-30, Martin Gainty wrote: > As the vast majority of Ant Developers came from C++ backgrounds > (usually writing JNI code...) I wouldn't expect this assertion to hold true. > Unless there is a JNI Library (which would have to be located on path > in order for the

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Martin Gainty
..documentation Unless there is a JNI Library (which would have to be located on path in order for the Java xslt task to execute) all other xslt Java classes/jars would need to be located on $CLASSPATH (I myself am currently working on the flex component compiler compc and found some things that

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-30 Thread Kerry, Richard
d will not be liable for any damages resulting from any virus transmitte From: Martin Gainty [mgai...@hotmail.com] Sent: 23 August 2013 21:00 To: Ant Users List Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example PATH is for shell scripts to locat

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Martin Gainty
accepter aucune responsabilité pour le contenu fourni. > From: richard.ke...@atos.net > To: user@ant.apache.org > Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example > Date: Fri, 23 Aug 2013 16:11:00 + > > > > Thanks. > > > >

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Martin Gainty
l effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: richard.ke...@atos.net > To: user@ant.apache.org > Subject: RE: Use of XML Catalog with Ant (xslt

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Kerry, Richard
Thanks. Regarding the first issue - Saxon's built-in catalog handling - I already know how to do this. When I call Saxon from a Java task I pass all of -x, -y, -r, -u. Regarding the second - Saxon from within Ant's xslt task - I have been advised that it isn't reall

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Peter West
t the problems of getting the ant xslt task to use Saxon. Peter West When the young man heard this, he went away sorrowful, for he had great possessions. On 24/08/2013, at 12:56 AM, Stefan Bodewig wrote: > On 2013-08-23, Kerry, Richard wrote: > >> Can I add this as a feature re

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Stefan Bodewig
, in whatever way it wants to. > Enquiring on either the Xsl or DocBook list indicated that although > Ant's xslt task can take a classpath parameter it is not possible to > get it to use Saxon due to some other limitations within one or the > other. I'm pretty sure I'v

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Martin Gainty
he.org > Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example > Date: Fri, 23 Aug 2013 13:28:47 + > > > > "you want the catalog to resolve the stylesheet itself - I'm afraid this is > not supported." > > "it does not use th

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Kerry, Richard
Gainty [mgai...@hotmail.com] Sent: 17 August 2013 13:31 To: Ant Users List Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example you wont need to write anything...Im just showing you the parameters you would need to create a working test harness if you could approach the situat

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Kerry, Richard
sk. I am intending to get the WebHelp format working and that is already written for an Ant build file using the xslt task. I hoped I'd be able to keep that mostly as provided but have found I can't use the catalog for the initial stylesheet, so will need to change (actually the one p

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-23 Thread Kerry, Richard
ts to. Enquiring on either the Xsl or DocBook list indicated that although Ant's xslt task can take a classpath parameter it is not possible to get it to use Saxon due to some other limitations within one or the other. Regards, Richard. Richard Kerry BNCS Engineer, SI SOL Telc

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-17 Thread Martin Gainty
rt à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: mgai...@hotmail.com >

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-17 Thread Martin Gainty
que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: richard.ke...@atos.net > To: user@ant.apache.org > Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example > Date: Fri, 1

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-17 Thread David J. B. Hollis
Hi, Trying to resolve this with ANT might possibly be too late, although I know nothing about ANT's xmlcatalog. The point is that Saxon loads a Java classpath defined CatalogManager.properties file, so it's possible that it has read this before ANT gets started. So, you might be better off fi

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-16 Thread Matt Benson
endeavours > to maintain a computer virus-free network, the sender does not warrant that > this transmission is virus-free and will not be liable for any damages > resulting from any virus transmitte > ____ > From: Martin Gainty [mgai...@hotmail.com] >

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-16 Thread Stefan Bodewig
On 2013-08-14, Kerry, Richard wrote: > I'm trying to get DocBook WebHelp building working, which uses Ant to > control the various processes involved, in particular Xslt. I would > like to use Catalogs for resolving my XSL stylesheet locations, and > have thus far been unable to make this work.

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-16 Thread Kerry, Richard
ble for any damages resulting from any virus transmitte From: Martin Gainty [mgai...@hotmail.com] Sent: 16 August 2013 13:39 To: Ant Users List Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example Richard the best way to handle this is to turn on fu

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-16 Thread Martin Gainty
a manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: richard.ke...@atos.net > To: user@ant.apache.org > Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example > Date: Fri, 16 Aug 2013 09:34:37 + > > > &g

RE: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-16 Thread Kerry, Richard
eveloped the catalog while doing other processing using Saxon, which is accessed using a Java task. In that case Saxon takes parameters indicating where to find the catalog file (more accurately the folder containing catalogManager.properties, which points to the Catalog.xml). The documentation

AW: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-14 Thread jhm
in the absence of technology, there is only marketing Jan Von: Kerry, Richard [mailto:richard.ke...@atos.net] Gesendet: Mittwoch, 14. August 2013 17:03 An: user@ant.apache.org Betreff: Use of XML Catalog with Ant (xslt task) - request for example I’m trying to

Use of XML Catalog with Ant (xslt task) - request for example

2013-08-14 Thread Kerry, Richard
I'm trying to get DocBook WebHelp building working, which uses Ant to control the various processes involved, in particular Xslt. I would like to use Catalogs for resolving my XSL stylesheet locations, and have thus far been unable to make this work. I've tried to follow Ant's documentation reg

Ant xslt task seems to ignore xmlcatalog for mapping dtds

2013-04-25 Thread WULMS Alex
Hi, I'm trying to use the xslt task in Ant to validate some xhtml files. The xhtml files start with a line to indicate the xhtml version. The doctype refers a DTD, like in following example: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://java.sun.com/jsf/html

Re: Increase Java heap within xslt task?

2012-08-06 Thread Mark Giffin
llows From: Mark Giffin To: Ant Users List Cc: Vimil Saju Sent: Sunday, August 5, 2012 7:20 PM Subject: Re: Increase Java heap within xslt task? I assume you mean running the java task with the fork attribute set to true, not the xslt task. Nothing is wrong with using the java

Re: Increase Java heap within xslt task?

2012-08-05 Thread Vimil Saju
: Sunday, August 5, 2012 7:20 PM Subject: Re: Increase Java heap within xslt task? I assume you mean running the java task with the fork attribute set to true, not the xslt task. Nothing is wrong with using the java task, but I thought it might be a little easier for someone else to understand if

Re: Increase Java heap within xslt task?

2012-08-05 Thread Mark Giffin
I assume you mean running the java task with the fork attribute set to true, not the xslt task. Nothing is wrong with using the java task, but I thought it might be a little easier for someone else to understand if I used the xslt task instead. But this seems like more trouble than it is worth

Re: Increase Java heap within xslt task?

2012-08-05 Thread Vimil Saju
max heap memory size is a jvm level setting that the xslt task has no control over. The only way to specify a different heap memory size for the xslt task is to run it in a different jvm, Running the xslt task by setting the fork attribute to true as you showed in the second approach is the way

Increase Java heap within xslt task?

2012-08-05 Thread Mark Giffin
How can I increase the memory for the xslt task from within Ant 1.8.4, not with an environment variable? I am using Saxon by specifying the Saxon jar classpath in this target: This transform job crashes with "java.lang.OutOfMemoryError: Java heap space" un

Re: Weird "xslt" task behavior

2011-11-17 Thread Jo Support
11-11-17, Jo Support wrote: > >> Hello everybody, > >> I've noticed a weird behavior from "xslt" task relating to relative >> paths. It seems that "xslt" task set the context for the "style" >> attribute relative path in two different

Re: Weird "xslt" task behavior

2011-11-17 Thread Stefan Bodewig
On 2011-11-17, Jo Support wrote: > Hello everybody, > I've noticed a weird behavior from "xslt" task relating to relative > paths. It seems that "xslt" task set the context for the "style" > attribute relative path in two different ways, depending

Weird "xslt" task behavior

2011-11-17 Thread Jo Support
Hello everybody, I've noticed a weird behavior from "xslt" task relating to relative paths. It seems that "xslt" task set the context for the "style" attribute relative path in two different ways, depending on the way Ant has been executed (via command line

Re: xslt task problem (xpath expression)

2010-05-25 Thread Scot P. Floess
ks it, the stylesheet is version 2.0. elt1[elt2[matches(text(), '^[\d]+$')]] elt1[elt2[matches(., '^[\d]+$')]] elt1[elt2[matches(., '^\d+$')]] elt1[matches(., '^\d+$')] ant version 1.8.1 I wanted to use saxon's saxon-xslt task instead bu

xslt task problem (xpath expression)

2010-05-25 Thread Jakob Fix
hes(., '^\d+$')]] elt1[matches(., '^\d+$')] ant version 1.8.1 I wanted to use saxon's saxon-xslt task instead but it doesn't support the filedirparameter="dirname" and filenameparameter="filename" params which I also need. K:\tests>ant Unable t

Re: AW: XSLT Task File- or Patternset

2009-12-24 Thread Tamer Demirel
- Von: Tamer Demirel [mailto:demi...@in.tum.de] Gesendet: Dienstag, 22. Dezember 2009 12:23 An: Ant Users List Betreff: XSLT Task File- or Patternset Hello, i like to use the file or patternset with the xslt task. but i dont know how it works. can somebody help me? the filenames for the input are

Re: AW: XSLT Task File- or Patternset

2009-12-24 Thread Tamer Demirel
] Gesendet: Dienstag, 22. Dezember 2009 12:23 An: Ant Users List Betreff: XSLT Task File- or Patternset Hello, i like to use the file or patternset with the xslt task. but i dont know how it works. can somebody help me? the filenames for the input are all: *_input.xml (01_input.xml, 02_input.xml

Re: AW: XSLT Task File- or Patternset

2009-12-24 Thread Tamer Demirel
Betreff: XSLT Task File- or Patternset Hello, i like to use the file or patternset with the xslt task. but i dont know how it works. can somebody help me? the filenames for the input are all: *_input.xml (01_input.xml, 02_input.xml, test123_input.xml) the filenames for the output should be

AW: XSLT Task File- or Patternset

2009-12-22 Thread Jan.Materne
Not tested ... Jan >-Ursprüngliche Nachricht- >Von: Tamer Demirel [mailto:demi...@in.tum.de] >Gesendet: Dienstag, 22. Dezember 2009 12:23 >An: Ant Users List >Betreff: XSLT Task File- or Patternset > >Hello, > >i like to use the file or patternset

XSLT Task File- or Patternset

2009-12-22 Thread Tamer Demirel
Hello, i like to use the file or patternset with the xslt task. but i dont know how it works. can somebody help me? the filenames for the input are all: *_input.xml (01_input.xml, 02_input.xml, test123_input.xml) the filenames for the output should be: *_output.xml (01_output.xml

AW: Ant xslt task dand fatal errors

2009-09-30 Thread Knuplesch, Juergen
There is a try catch in antcontrib, that I use... -- Jürgen Knuplesch Von: Huditsch, Roman (LNG-VIE) [mailto:roman.hudit...@lexisnexis.at] Gesendet: Mittwoch, 30. September 2009 10:58 An: user@ant.apache.org Betreff: Ant xslt task dand fatal errors Hi

Ant xslt task dand fatal errors

2009-09-30 Thread Huditsch, Roman (LNG-VIE)
Hi everybody, I am doing several xslt transformations managed by an ant build file. The XSLT processor used is Saxon 9 since our stylesheets are written in XSLT 2.0. My problem now is that if Saxon is reporting a fatal error for the transformation of one input file, the ant task is breaking

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

xslt task only on files in a subdirectory

2009-08-13 Thread brian m. carlson
I have a project that contains some XML files in a directory called "src". However, because I must perform several conversions on them, I copy them to a directory called "build" and then run the xslt task on them several times. I want to run this task only on the files that

RE: xslt Task

2009-03-09 Thread cknell
s Knell ckn...@onebox.com - email -Original Message- From: Knuplesch, Juergen Sent: Mon, 9 Mar 2009 16:33:19 +0100 To: "Ant Users List" Subject: xslt Task Hello, we want to intergrate a xsl-Transformation into our Buildprocess. The XSLT runs fine together with Saxon proce

AW: xslt Task

2009-03-09 Thread Knuplesch, Juergen
An: Ant Users List Betreff: Re: xslt Task 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

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

xslt Task

2009-03-09 Thread Knuplesch, Juergen
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? Integrate saxon into Ant? How? Greetings Juergen -- Jürgen Knuplesch

Re: I/O redirection for XSLT task?

2008-11-06 Thread Ron Van den Branden
Hi, Robert Koberg schreef: Oh, well you could: $ ant mytask > some.txt True, this captures all ant output. Probably the loggers give better control over this global output. You could also implement your own: http://www.saxonica.com/documentation

Re: I/O redirection for XSLT task?

2008-11-06 Thread Robert Koberg
On Nov 6, 2008, at 10:02 AM, Ron Van den Branden wrote: Hi, Robert Koberg schreef: I'm wondering if is it possible to specify I/O redirection for the task? If not, are there workarounds to get STDOUT and STDERR from XSLT transformations? If you can use XSL 2.0 then there is the xsl:res

Re: I/O redirection for XSLT task?

2008-11-06 Thread Ron Van den Branden
Hi, Robert Koberg schreef: I'm wondering if is it possible to specify I/O redirection for the task? If not, are there workarounds to get STDOUT and STDERR from XSLT transformations? If you can use XSL 2.0 then there is the xsl:result-document which lets you write where you want. Thanks,

Re: I/O redirection for XSLT task?

2008-11-06 Thread Robert Koberg
On Nov 6, 2008, at 9:53 AM, Ron Van den Branden wrote: Hi, I gather from the documentation at that the element only applies to , , or tasks. I'm wondering if is it possible to specify I/O redirection for the task? If not, are

I/O redirection for XSLT task?

2008-11-06 Thread Ron Van den Branden
Hi, I gather from the documentation at that the element only applies to , , or tasks. I'm wondering if is it possible to specify I/O redirection for the task? If not, are there workarounds to get STDOUT and STDERR from XSLT transfo

Re: Ant 1.7 - XSLT task and Xalan and Saxon9 issue

2008-10-02 Thread James Abley
2008/9/30 Marijan (Mario) Madunic <[EMAIL PROTECTED]>: > I'm trying to run various XSLT tasks that either rely on Xalan or Saxon and > am having a hard time with ANT recognizing Xalan when Saxon is in the > Ant/lib. The reason I am running both is that Xalan has a better extension > for SQL than Sa

Re: Xincludes and Ant XSLT task

2008-10-01 Thread David J. B. Hollis
ocs from modular xml files connected using xinclue. I've been trying the Ant XSLT task, but cannot figure out how to tell it to use Xerces xinclude support. Is there an easy way to make the XSLT task use Xerces xinclude support? ---

Re: Xincludes and Ant XSLT task

2008-10-01 Thread gurki
XInclude work inside an anttask? > > gz gurki > > > Johnson, Eric wrote: >> >> I'm trying to generate docs from modular xml files connected using >> xinclue. I've been trying the Ant XSLT task, but cannot figure out how >> to tell it to use Xerces xi

Re: Xincludes and Ant XSLT task

2008-10-01 Thread gurki
; > I'm trying to generate docs from modular xml files connected using > xinclue. I've been trying the Ant XSLT task, but cannot figure out how > to tell it to use Xerces xinclude support. Is there an easy way to make > the XSLT ta

Ant 1.7 - XSLT task and Xalan and Saxon9 issue

2008-09-30 Thread Marijan (Mario) Madunic
I'm trying to run various XSLT tasks that either rely on Xalan or Saxon and am having a hard time with ANT recognizing Xalan when Saxon is in the Ant/lib. The reason I am running both is that Xalan has a better extension for SQL than Saxon does and my other XSLT tasks all run with XSLT 2.0. H

Re: XSLT task fail rerouting

2008-04-17 Thread Mario Madunic
Steve Loughran <[EMAIL PROTECTED]>: > 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 b

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 a

XSLT task fail rerouting

2008-04-16 Thread Madunic, Marijan (RBI-US)
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 formed XML doc comes along. When

Xincludes and Ant XSLT task

2007-11-29 Thread Eric Johnson
I'm trying to generate docs from modular xml files connected using xinclue. I've been trying the Ant XSLT task, but cannot figure out how to tell it to use Xerces xinclude support. Is there an easy way to make the XSLT task use Xerces xinclu

Re: Clarification in xslt task

2007-11-02 Thread Ramu Sethu
/svn.apache.org/repos/asf/ant/core/trunk/src/etc/junit-noframes.xsl > > > > > > Jan > > > > >-Ursprüngliche Nachricht- > > >Von: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] Im Auftrag von > > >Ramu Sethu > > >

Re: Clarification in xslt task

2007-11-02 Thread Ramu Sethu
prüngliche Nachricht- > >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von > >Ramu Sethu > >Gesendet: Donnerstag, 1. November 2007 08:38 > >An: Ant Users List > >Betreff: Clarification in xslt task > > > >Hi all > > > >We are using

AW: Clarification in xslt task

2007-11-01 Thread Jan.Materne
s List >Betreff: Clarification in xslt task > >Hi all > >We are using junitreport task in our project. it goes like this > > > > > > > >I need to use the same aggreated xml for another xslt transform >so i thought of using task. >Had a look

Clarification in xslt task

2007-11-01 Thread Ramu Sethu
Hi all We are using junitreport task in our project. it goes like this I need to use the same aggreated xml for another xslt transform so i thought of using task. Had a look at check.xml in ant source code and tried like this I was expecting the same output of junit re

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

2007-02-05 Thread Carlos
a "classpath" element to the "xslt" element in the Ant > script. > > My problem is that the XSLT task behaves strangely when used for a set > of files (using basedir,destdir and extension attributes), although it > works OK for a single file (in,out attributes). I&#

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

2007-02-05 Thread Carlos
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" element in the Ant script. My problem is that the XSLT task behaves strangely when used for a set of files (using basedir,destdir and extension attribu

XSLT Task

2007-01-31 Thread subir bhaumik
Hi, I am using apache-ant-1.6.5 api to generate report in html format. The code snippet : XSLTProcess xslt_process = new XSLTProcess(); xslt_process.setProject(p2); //xslt_process.setBasedir(new File(base_dir)); xslt_process.set

AW: Custom processor for Xslt task?

2007-01-08 Thread Jan.Materne
I always get a 404 error ... Jan >-Ursprüngliche Nachricht- >Von: Trevor Harmon [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 8. Januar 2007 10:01 >An: Ant Users List >Betreff: Re: Custom processor for Xslt task? > >On Jan 6, 2007, at 9:43 PM, Trevor Harmon wrote:

Re: Custom processor for Xslt task?

2007-01-08 Thread Trevor Harmon
On Jan 6, 2007, at 9:43 PM, Trevor Harmon wrote: It's definitely not a misspelling. The override workaround always results in a ClassNotFoundException. I've filed a bug on this issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=41314 I also found a workaround, which I describe on my

Re: Custom processor for Xslt task?

2007-01-06 Thread Trevor Harmon
On Jan 3, 2007, at 5:16 AM, Dominique Devienne wrote: I always used the -lib approach myself, Yes, that works for me too, but it's exactly what I'm trying to avoid! After all, having to specify -lib defeats the purpose of the override. and can't easily test this nowdays, sorry. It's qu

Re: Custom processor for Xslt task?

2007-01-03 Thread Dominique Devienne
I've created a test case that's just like the Ant Wiki code, except I've specified net.sf.saxon.TransformerFactoryImpl in the element. But when I do that, I always get java.lang.ClassNotFoundException. I can work around it by explicitly putting Saxon's JAR in the -lib command-line parameter, or i

Re: Custom processor for Xslt task?

2007-01-02 Thread Trevor Harmon
On Jan 2, 2007, at 7:58 AM, Dominique Devienne wrote: On 12/30/06, Trevor Harmon <[EMAIL PROTECTED]> wrote: I'm trying to use Saxon instead of the built-in Xalan processor for the Xslt task. Supposedly, all I have to do is specify a classpath when calling the task [1], but I've

Re: Custom processor for Xslt task?

2007-01-02 Thread Dominique Devienne
On 12/30/06, Trevor Harmon <[EMAIL PROTECTED]> wrote: I'm trying to use Saxon instead of the built-in Xalan processor for the Xslt task. Supposedly, all I have to do is specify a classpath when calling the task [1], but I've never been able to get this to work. Ant always fi

Re: Custom processor for Xslt task?

2006-12-30 Thread Jay Bryant
On Dec 30, 2006, at 8:22 PM, Jay Bryant wrote: I get Ant to work with Saxon with tasks similar to this one: Disregarding my issue for a moment, I don't understand how this could possibly work. Okay, so the Saxon JAR is on the classpath. We could even assume it's the very first entry on

Re: Custom processor for Xslt task?

2006-12-30 Thread Trevor Harmon
On Dec 30, 2006, at 8:22 PM, Jay Bryant wrote: I get Ant to work with Saxon with tasks similar to this one: Disregarding my issue for a moment, I don't understand how this could possibly work. Okay, so the Saxon JAR is on the classpath. We could even assume it's the very first entry o

Re: Custom processor for Xslt task?

2006-12-30 Thread Jay Bryant
I was finally able to get Saxon to work with the Xslt task...sort of. I discovered that, in addition to supplying the Saxon JAR on the classpath, I need to specify a factory. In other words, the build file in my test case should look like this: This change causes Ant to use Saxon, b

Re: Custom processor for Xslt task?

2006-12-30 Thread Trevor Harmon
I was finally able to get Saxon to work with the Xslt task...sort of. I discovered that, in addition to supplying the Saxon JAR on the classpath, I need to specify a factory. In other words, the build file in my test case should look like this: This change causes Ant to use Saxon, b

Custom processor for Xslt task?

2006-12-30 Thread Trevor Harmon
I'm trying to use Saxon instead of the built-in Xalan processor for the Xslt task. Supposedly, all I have to do is specify a classpath when calling the task [1], but I've never been able to get this to work. Ant always finds the built-in processor in its lib directory. I see th

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. <url url="${printParams.xsl.url}"/> Regards, Antoine On Dec 10, 2006, at 11:56 AM, Dominique Devienne wrote: is it possible to use in 'style' attribute of xslt tas

xslt task and style

2006-12-09 Thread Miroslav Šulc
Hi, is it possible to use in 'style' attribute of xslt task style definition like http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl or one must specify only local files? -- Miroslav Šulc --

Re: AW: Obtaining error messages from xslt task

2005-11-29 Thread Simon Kitching
Simon Kitching wrote: Thanks for the responses. I've managed to create a simple example that demonstrates the problem. See the attached files. Running the ant script for me generates no errors. Oddly, removing the from the input.in file does cause the errors to be emitted. Hmm..the last att

Re: AW: Obtaining error messages from xslt task

2005-11-29 Thread Simon Kitching
sages from xslt task Hi, The myfaces project has some documents that make heavy use of xml entity references (&foo;) to compose a JSP TLD file from multiple parts. The ant task is used to create a document with all these entity references expanded inline (plus a little pretty-printing). How

Re: Obtaining error messages from xslt task

2005-11-28 Thread Antoine Levy-Lambert
Hello Simon, ant 1.6 has a bug concerning XML processing of documents containing entities, when the main document is in a directory whose path contains spaces. but this is not your problem. these targets from ant's main build file could help you : Cheers, Antoine Simo

AW: Obtaining error messages from xslt task

2005-11-28 Thread Jan.Materne
error messages from xslt task > >Hi, > >The myfaces project has some documents that make heavy use of >xml entity references (&foo;) to compose a JSP TLD file from >multiple parts. The ant task is used to create a >document with all these entity references expanded

Obtaining error messages from xslt task

2005-11-28 Thread Simon Kitching
Hi, The myfaces project has some documents that make heavy use of xml entity references (&foo;) to compose a JSP TLD file from multiple parts. The ant task is used to create a document with all these entity references expanded inline (plus a little pretty-printing). However some people (inc

xslt task

2005-09-07 Thread Ana Gaspar Martínez
Hello, I'm using the mtxslt task to generate differents html files from an unique xml file. It runs when i put the in and out attributes of mtxslt. I'd like to generate 3 files for each xml file paced under a determinate folder. I've tryied using basedir attribute but this only generates the f

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

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

2005-09-01 Thread Thomas SMETS
My XSLT to transform the XML report from checkstyle fails with the following message : Fatal Error! Content is not allowed in prolog. I use the following : which I believe is expected to work fine with the XSLT generating frames from teh XML work fine with the simpler : checkstyle-nofr

xmlcatalog to resolve document() in xslt task

2005-08-08 Thread Ron Piterman
Hi, Inside an xslt task I define an xmlcatalog. In the xsl file I call document(ff.xml) the file is on the classpath, but I keep getting a NoFileFound Exception. What did I do wrong? Cheers, Ron description

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

Xslt task defaults to XSLTC with jdk1.5?

2005-07-19 Thread Robert Koberg
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 (com.sun.org.apache.xalan...) and sorting in ant?? best,

  1   2   >