You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Patrick Egan <pa...@greshamticket.com> on 2006/02/08 10:50:23 UTC

Re: linked image problem

Update - this has now been fixed in SVN,
Thank you Cameron.

Patrick


Patrick Egan wrote:

> Hello,
>
> I am using Batik SVN code.
>
> I have an application that uses a dynamic JSVGCanvas. However if I 
> open an svg that references another svg image via the <image> tag 
> document rendering fails.
> This only happens if the <image> is svg, png and jpeg images are ok.
>
> I can get the same error to occur in Squiggle if I add an empty 
> <script/> tag to force the document to be dynamic.
>
> I get the following error :-
>
> java.lang.ClassCastException     at
> org.apache.batik.bridge.svg12.SVG12BridgeContext.addUIEventListeners(Unknown 
>
> Source)     at
> org.apache.batik.bridge.BridgeContext.createSubBridgeContext(Unknown 
> Source)
> at
> org.apache.batik.bridge.svg12.SVG12BridgeContext.createSubBridgeContext(Unkn 
>
> own Source)     at
> org.apache.batik.bridge.SVGImageElementBridge.createSVGImageNode(Unknown
> Source)     at
> org.apache.batik.bridge.SVGImageElementBridge.createRasterImageNode(Unknown 
>
> Source)     at
> org.apache.batik.bridge.SVGImageElementBridge.createImageGraphicsNode(Unknow 
>
> n Source)     at
> org.apache.batik.bridge.SVGImageElementBridge.buildImageGraphicsNode(Unknown 
>
> Source)     at
> org.apache.batik.bridge.SVGImageElementBridge.createGraphicsNode(Unknown
> Source)     at 
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown
> Source)     at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown
> Source)     at 
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown
> Source)     at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown
> Source)     at 
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown
> Source)     at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown
> Source)     at 
> org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown
> Source)     at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown
> Source)     at org.apache.batik.bridge.GVTBuilder.build(Unknown 
> Source)     at
> org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown Source)
>
> Anybody know whats going on ?
>
> Patrick
>

Important - This e-mail and the information that it contains may be
confidential, legally privileged and protected by law.  Access by the
intended recipient only is authorised.  Any liability (in negligence or
otherwise) arising from any third party acting, or refraining from acting,
on any information contained in this e-mail is hereby excluded.  If you are
not the intended recipient, please notify the sender immediately and do not
disclose the contents to any other person, use it for any purpose, or store
or copy the information in any medium.  Copyright in this e-mail and
attachments created by us belongs to the author and
also asserts the right to be identified as such and object to any misuse.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org