I switched from batik 1.5 to batik 1.6 the NullPointerException disappeared but I had other problems.
Mainly that the referenced image appears as "broken" in the resulting file while using the transcoder. I have used many combinaison of xml:base + absolute|relative url link and the result is fine with the rasterizer and "broken" with the transcoder. I had more details in a previous reply to Thomas DeWeese. --- Tonny Kohar <[EMAIL PROTECTED]> wrote: > Hi, > > On Mon, 2005-07-04 at 18:32 -0700, Gregory wrote: > > Sorry, there was a missing line before the java > code > > snippet. It should have been: > > > > ... > > TranscoderOutput out = new > > TranscoderOutput(outputStream); > > // doc is SVGDocument > > TranscoderInput in = new TranscoderInput(doc); > > transcoder.transcode(in, out); > > Did the transcoder work fine with other svg doc, or > it is only error > with the particular svg doc ? try to use simple doc > without image > element eg: only rect element? > > I could be wrong, if you create the doc on the fly > did you also put doc > base attribute ? > > Regards > Tonny Kohar > -- > Sketsa > SVG Graphics Editor > http://www.kiyut.com > -- > Sketsa > SVG Graphics Editor > http://www.kiyut.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
