You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Rolf F. Katzenberger" <rf...@gmx.net> on 2003/04/07 16:38:25 UTC

mtxslt + Saxon 7: not supported?

To render Docbook sources to PDF, I have to use Saxon 7 (instead of
1.4 JDK's Xalan) due to Xalan bugs. It seems that the 3rd-Party mtxslt
task does the job, however it ignores the

  <xmlcatalog refid="..."/>

although the docs say the task is derived from the xslt task. I've
noticed this while trying to render files offline.

I this a limitation of Saxon?

As a workaround, I'm replacing the DOCTYPE line in my Docbook sources
by a hint to a local file, but this looks like an ugly hack to me.

Any idea for a better solution?

TIA,
Rolf

Re: mtxslt + Saxon 7: not supported?

Posted by "Anthony B. Coates" <ab...@idmm.co.uk>.
** Reply to message from "Rolf F. Katzenberger" <rf...@gmx.net> on Mon, 07 Apr
2003 16:38:25 +0200

I wrote "mtxslt", and it really is derived from "xslt", and the changes aren't
great.  I'm very surprised that it doesn't work with Saxon.  To test it, you
should use "xslt", but set

javax.xml.transform.TransformerFactory

to select Saxon instead of Xalan.  That will tell you whether this problem has
anything to do with "mtxslt" or not.  As for a better solution, the Ant guys
tell me that the code on the head of 1.6 in CVS should do the same as "mtxslt"
(I'll wait until 1.6 is released to check this for myself), so compiling that
latest version for yourself might be worth a try.

	Cheers,
		Tony.

> To render Docbook sources to PDF, I have to use Saxon 7 (instead of
> 1.4 JDK's Xalan) due to Xalan bugs. It seems that the 3rd-Party mtxslt
> task does the job, however it ignores the
> 
>   <xmlcatalog refid="..."/>
> 
> although the docs say the task is derived from the xslt task. I've
> noticed this while trying to render files offline.
====
Anthony B. Coates
Information Design, Messaging and Management
London, UK
mailto:abcoates@idmm.co.uk
====
MDDL Editor (Market Data Definition Language), http://www.mddl.org/
FpML AWG Member (Financial Products Markup Language), http://www.fpml.org/