Hi Thomas
Many thanks for your reply. Changing line 353 of RasterizerTask.java from
XMLResourceDescriptor.setXMLParserClassName(getParserClassName(readerClassName));
to either
XMLResourceDescriptor.setXMLParserClassName(getParserClassName(JAXP_PARSER));
or
XMLResourceDescriptor.setXMLParserClassName(null);
does indeed make things work. I found I also had to add
{BATIK_HOME}/lib/xml-apis-dom3.jar to the classpath for the Ant task, as
follows:
<taskdef name="rasterize"
classname="org.apache.tools.ant.taskdefs.optional.RasterizerTask">
<classpath>
<pathelement location="${batik.lib.dir}/batik-all.jar"/>
<pathelement location="${batik.build.lib.dir}/xml-apis-dom3.jar"/>
<pathelement
location="${batik.rasterizertask.dir}/build/lib/RasterizerTask.jar"/>
</classpath>
</taskdef>
Sincerely
Colin Chambers
[EMAIL PROTECTED] wrote:
I suspect that the ant task is looking for:
http://svn.apache.org/repos/asf/xmlgraphics/batik/branches/svg11/resources/org/apache/batik/util/resources/XMLResourceDescriptor.properties
Which is no longer used in truck since by default we now use JAXP. I
suspect
you could change the ant task to simply pass null for the parser class
name
and things would work, or you could add the above file to your jar file.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]