Hi Jirka,

    The document is in error.  Inkscape shouldn't open or render it 
according to
the SVG specification.  The document contains references to fills that 
aren't
defined in the document:
        style="fill:url(#XMLID_384_)"

     There is no element with id="XMLID_384_" (or any of the 
other fill id's).

Jirka <[EMAIL PROTECTED]> wrote on 01/18/2008 01:27:39 PM:

> I use Batik 1.7 and jdk1.6.0_01.
> 
> It works OK for many svg files but when I try to open
> several svg files published on the wikipedia website,
> for example:
> 
> 
http://upload.wikimedia.org/wikipedia/commons/e/ef/Location_United_States.svg
> 
> I get the error below. However, Inkscape 0.43 (Nov 23
> 2005) opens it just fine.



> 
> Am I missing something?
> 
> Thank you.
> 
> Jirka
> 
> SVG Error:
> 
> http://upload.wikimedia.
> org/wikipedia/commons/e/ef/Location_United_States.svg:79
> Cannot find the referenced element:
> "http://upload.wikimedia.
> org/wikipedia/commons/e/ef/Location_United_States.svg#XMLID_384_"
> specified on the element <path> - may be a problem of
> 'id'
> 
> org.apache.batik.bridge.BridgeException:
> http://upload.wikimedia.
> org/wikipedia/commons/e/ef/Location_United_States.svg:79
> Cannot find the referenced element:
> "http://upload.wikimedia.
> org/wikipedia/commons/e/ef/Location_United_States.svg#XMLID_384_"
> specified on the element <path> - may be a problem of
> 'id'
>    at
> org.apache.batik.bridge.BridgeContext.
> getReferencedNode(BridgeContext.java:754)
>    at
> org.apache.batik.bridge.BridgeContext.
> getReferencedElement(BridgeContext.java:796)
>    at
> 
org.apache.batik.bridge.PaintServer.convertURIPaint(PaintServer.java:351)
>    at
> org.apache.batik.bridge.PaintServer.convertPaint(PaintServer.java:259)
>    at
> 
org.apache.batik.bridge.PaintServer.convertFillPaint(PaintServer.java:228)
>    at
> 
org.apache.batik.bridge.PaintServer.convertFillAndStroke(PaintServer.java:146)
>    at
> org.apache.batik.bridge.SVGShapeElementBridge.
> createShapePainter(SVGShapeElementBridge.java:117)
>    at
> org.apache.batik.bridge.SVGDecoratedShapeElementBridge.
> createFillStrokePainter(SVGDecoratedShapeElementBridge.java:58)
>    at
> org.apache.batik.bridge.SVGDecoratedShapeElementBridge.
> createShapePainter(SVGDecoratedShapeElementBridge.java:84)
>    at
> org.apache.batik.bridge.SVGShapeElementBridge.
> buildGraphicsNode(SVGShapeElementBridge.java:91)
>    at
> 
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:224)
>    at
> org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
>    at
> org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:82)
>    at
> org.apache.batik.swing.svg.GVTTreeBuilder.run(GVTTreeBuilder.java:96)
> 
> 
> 
> 
> 
____________________________________________________________________________________
> Looking for last minute shopping deals? 
> Find them fast with Yahoo! Search.  http://tools.search.yahoo.
> com/newsearch/category.php?category=shopping
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to