Hi Mark,

news <[EMAIL PROTECTED]> wrote on 09/15/2006 12:43:02 PM:

> [EMAIL PROTECTED] wrote:
> > 
> >     Did you try transcoding the resulting Document?  It should 
generate
> > a PNG/JPEG of the right size.
> 
> Hmm, OK... I gave it a shot and here is what happened:
> 
> java.lang.NullPointerException
>          at 
> 
org.apache.batik.dom.util.SAXDocumentFactory.startElement(SAXDocumentFactory.java:562)
>          at 
> 
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:83)

> Now, for all I know this might be a bug in Batik trunk, or it could just 

> be that Cocoon's Batik-based SVG serializer isn't compatible with Batik 
> trunk (at least in Cocoon 2.1.8, which is what I'm using for this 
> project)... does this exception suggest anything to you?

   Hmm, I don't think this is going to work.  Our DocumentFactory wants to
check some info from the Parser (which isn't provided this way, don't
know if it's OK to require a parser in a DocumentFactory or not ;). 

   Can the Cocoon code take just a DOMImplementation?  You could give 
it our SVG12 DomImplementation.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to