ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Lybarger" <mlybar...@gmail.com>
Subject ant xslt on java 1.5
Date Thu, 30 Mar 2006 13:50:16 GMT
i'm trying to use ant's xslt task on java 1.5.
Here's my target call:
		<xslt includes="docsrc/manual/my-manual.xml"
				style="${tools}/lib/docbook/docbook-xsl/html/chunk.xsl"
				destdir="build/docs/manual">
			<xmlcatalog>
				<dtd publicId="-//OASIS//DTD DocBook XML V4.2//EN"
location="${tools}/lib/docbook/docbook-xsl/dtds/docbookx.dtd"/>
			</xmlcatalog>			
		</xslt>

And the exception is:
    [xslt] Transforming into C:\dev\workspace-wtp-1.0\myProj\build\docs\manual
     [xslt] Processing
C:\dev\workspace-wtp-1.0\ricec\docsrc\manual\my-manual.xml to
C:\dev\workspace-wtp-1.0\myProj\build\docs\manual\docsrc\manual\my-manual.html
     [xslt] Loading stylesheet
C:\dev\workspace-wtp-1.0\tools\lib\docbook\docbook-xsl\html\chunk.xsl
     [xslt] Failed to process
C:\dev\workspace-wtp-1.0\myProj\docsrc\manual\rice-manual.xml

BUILD FAILED
C:\dev\workspace-wtp-1.0\myProj\build.xml:82:
javax.xml.transform.TransformerConfigurationException: Could not load
the translet class 'chunk'.

Any suggestions?  we were directly using saxon via ant's java task,
but a proxy server went up, and it was failing on validating documents
because of dtd's not found.  ant's xslt task lets us specify the
xmlcatalog to get around this.

thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message