BATIK-966 still perisits

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

BATIK-966 still perisits

Jan Hill

Hello mailinglist,

thats my frist post here, i am not a native speaker, if I make a mistake, please give me a hint.

First thanks for batik :-)

I run in the same problem which is described here:

I am sure there is am bug, if the base64 string/stream has whitespaces ( SPACE; LF; CRLF; CR).

If you handle base64 strings you have to ignore whitespaces.

See below. Is there a chance to get them fixed? Or for wich class should this fix developed?



Caused by: org.apache.batik.transcoder.TranscoderException: null

Enclosed Exception:


The URI <a class="moz-txt-link-rfc2396E" href="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ.....RRQAUUUUAFFFFABRRRQB//9k=">"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ.....RRQAUUUUAFFFFABRRRQB/ /9k= "

on element <image> can't be opened because:

JPEG URL is corrupt or unsupported variant

         at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(

         at org.apache.batik.transcoder.image.ImageTranscoder.transcode(

         at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(

         at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(


         ... 118 common frames omitted

Caused by: org.apache.batik.bridge.BridgeException: :0

The URI <a class="moz-txt-link-rfc2396E" href="data:image/jpeg;base64,/9j/4AAQSkZJRgAB.....AFFFFABRRRQB//9k=">"data:image/jpeg;base64,/9j/4AAQSkZJRgAB.....AFFFFABRRRQB/ /9k= "

on element <image> can't be opened because:

JPEG URL is corrupt or unsupported variant

         at org.apache.batik.bridge.UserAgentAdapter.getBrokenLinkDocument(

         at org.apache.batik.bridge.SVGImageElementBridge.createRasterImageNode(

         at org.apache.batik.bridge.SVGImageElementBridge.createImageGraphicsNode(

         at org.apache.batik.bridge.SVGImageElementBridge.buildImageGraphicsNode(

         at org.apache.batik.bridge.SVGImageElementBridge.createGraphicsNode(

         at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(

         at org.apache.batik.bridge.GVTBuilder.buildComposite(


         at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(

         ... 122 common frames omitted