Hi,

I have an svg document with the following element:
<image x="0" y="0" width="612" height="792"
xlink:href="http://xml.apache.org/batik/images/splash.png"/>

I works fine with the rasterizer and with squiggle. 

But if I try the Transcoder API with something like
this:
...
TranscoderOutput out = new
TranscoderOutput(outputStream);
transcoder.transcode(in, out);
...

I get:

java.lang.NullPointerException
at
org.apache.batik.bridge.DocumentLoader.getLineNumber(Unknown
Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown
Source)
at
org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown
Source)
at
org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown
Source)
at
org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown
Source)
...

Any idea?

__________________________________________________
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]

Reply via email to