Hi,
There seems to be some error in current cvs batik.
I'm guessing that the ComputedValue class is a proxy so that instead of
casting the value it should be calling getComputedValue.
With the following simple svg file:
<svg width="500.0"
height="300.0"
xmlns="http://www.w3.org/2000/svg" version="1.0">
<line y2="300.0"
style="stroke:rgb(200,50,50);stroke-dasharray:5 5"
x1="24.5" x2="12.5" y1="18.798828"/>
</svg>
I get this exception with the dasharray:
Converting out.svg to ./out.png ... java.lang.ClassCastException:
org.apache.batik.css.engine.value.ComputedValue
at org.apache.batik.bridge.PaintServer.convertStrokeDasharray(Unknown
Source)
at org.apache.batik.bridge.PaintServer.convertStroke(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.SVGDecoratedShapeElementBridge.createShapePainter(Unknown
Source)
at
org.apache.batik.bridge.SVGShapeElementBridge.buildGraphicsNode(Unknown
Source)
Thanks,
Keiron.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]