You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Huditsch, Roman (LNG-VIE)" <Ro...@lexisnexis.at> on 2009/09/30 10:58:08 UTC

Ant xslt task dand fatal errors

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 off with "Build failed".

Is there a simple way to change that behaviour in a way that the build
doesn't break off and Saxon can transform the rest of the input data?

 

Thanks,
Roman

 


Mag. (FH) Roman Huditsch
 Teamleader XSLT-Development 

Tel.: +43 (1) 534 52 - 1514 
Fax: +43 (1) 534 52 - 146 
Mobil: +43 (0)664 - 965 77 55 
Roman.Huditsch@lexisnexis.at

LexisNexis Verlag ARD Orac GmbH & Co KG
Marxergasse 25, 1030 Wien
FN 8333f, Handelsgericht Wien
http://www.lexisnexis.at/
 




AW: Ant xslt task dand fatal errors

Posted by "Knuplesch, Juergen" <Ju...@icongmbh.de>.
There is a try catch in antcontrib, that I use...
 

--
Jürgen Knuplesch 


________________________________

Von: Huditsch, Roman (LNG-VIE) [mailto:Roman.Huditsch@lexisnexis.at] 
Gesendet: Mittwoch, 30. September 2009 10:58
An: user@ant.apache.org
Betreff: Ant xslt task dand fatal errors



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 off with "Build failed".

Is there a simple way to change that behaviour in a way that the build doesn't break off and Saxon can transform the rest of the input data?

 

Thanks,
Roman

 

Mag. (FH) Roman Huditsch
Teamleader XSLT-Development  

Tel.: +43 (1) 534 52 - 1514 

Fax: +43 (1) 534 52 - 146 

Mobil: +43 (0)664 - 965 77 55 

Roman.Huditsch@lexisnexis.at

LexisNexis Verlag ARD Orac GmbH & Co KG
Marxergasse 25, 1030 Wien
FN 8333f, Handelsgericht Wien
www.lexisnexis.at <http://www.lexisnexis.at/>