Good day!!!

I am trying to using the following SVG file.

<?xml version="1.0" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg";
xmlns:xlink="http://www.w3.org/1999/xlink"; width="100"
height="200" viewBox="0 0 100 200">
<defs>
        <radialGradient id="patternBall"
gradientUnits="objectBoundingBox"
                            fx="30%" fy="30%" >
                <stop offset="0%" style="stop-color:white" />
                <stop offset="20%" style="stop-color:#666688" />
                <stop offset="100%" style="stop-color:black" />
    </radialGradient>
    
     <radialGradient id="yellowPatternBall"
gradientUnits="objectBoundingBox"
                            fx="30%" fy="30%" >
                <stop offset="0%" style="stop-color:white" />
                <stop offset="20%" style="stop-color:yellow" />
                <stop offset="40%" style="stop-color:orange" />
                <stop offset="100%" style="stop-color:#442200" />
      </radialGradient>
</defs>

<g id = "zoomout">
        <circle id = " czoomout" cx = "50" cy = "40" r = "14"
fill = "url(#patternBall)" />
        <path id = "pzoomout" d= "M 44 38 L 48 38 L 48 34 L
52 34 L 52 38 L 56 38 L 56 42 L 52 42 L 52 46 L 48 46
L 48 42 L 44 42 Z" fill = "url(#yellowPatternBall)"/>
</g>

</svg>

The SVG works in IE, but when I load this to batik, I
recieve the following error:

org.apache.batik.bridge.BridgeException:
file:src/TestFiles/zoomcircles.svg:21
An I/O error occured while processing the URI:
"file:src/TestFiles/zoomcircles.svg#patternBall"
specified on the element <circle>
        at
org.apache.batik.bridge.BridgeContext.getReferencedElement(Unknown
Source)
        at
org.apache.batik.bridge.PaintServer.convertURIPaint(Unknown
Source)
        at
org.apache.batik.bridge.PaintServer.convertPaint(Unknown
Source)
        at
org.apache.batik.bridge.PaintServer.convertFillPaint(Unknown
Source)
        at
org.apache.batik.bridge.PaintServer.convertFillAndStroke(Unknown
Source)
        at
org.apache.batik.bridge.SVGShapeElementBridge.createShapePainter(Unknown
Source)
        at
org.apache.batik.bridge.SVGCircleElementBridge.createShapePainter(Unknown
Source)
        at
org.apache.batik.bridge.SVGShapeElementBridge.buildGraphicsNode(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)


Woul you know where's the mistake in my SVG file

thanks

Philip Zuniga

__________________________________________________
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