forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keiron Liddle <kei...@aftexsw.com>
Subject Re: Class cast creating SVG's
Date Mon, 11 Nov 2002 08:29:35 GMT

The batik should be updated to a more recent batik, current cvs fixes
this problem.
The unfortunate side effect is the the newer batik closes the stream and
cocoon (CLI) dies. Someone needs to apply the patch (on the patch queue)
to cocoon to fix the problem.

On Sat, 2002-11-09 at 21:48, Ross Gardler wrote:
> If I try to create a PNG from an SVG file I get the following error, any 
> ideas?
> 
> java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser
> 	at org.apache.cocoon.serialization.SVGSerializer.notify(Unknown Source)
> 	at org.apache.cocoon.xml.dom.SVGBuilder.endDocument(Unknown Source)
> 	at 
> org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
> 	at 
> org.apache.cocoon.components.sax.XMLTeePipe.endDocument(XMLTeePipe.java:102)
> 	at 
> org.apache.xerces.parsers.AbstractSAXParser.endDocument(AbstractSAXParser.java:741)
> 	at 
> org.apache.xerces.impl.XMLNamespaceBinder.endDocument(XMLNamespaceBinder.java:705)
> 	at 
> org.apache.xerces.impl.dtd.XMLDTDValidator.endDocument(XMLDTDValidator.java:918)
> 	at 
> org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(XMLDocumentScannerImpl.java:451)
> 
> Ross
> 



Mime
View raw message