Whenever I try to open an SVG file created with Sodipodi (a very nice
vector drawing program for Gnome, which natively implements SVG) in
Batik viewer, I get:
org.w3c.dom.DOMException: An element of type "svg" has an invalid inline
style: The "fill-opacity" property does not support percentage values.
Here's a sample of the code that generates this:
<ellipse
style="stroke:none; fill:#7f7f7f; fill-opacity:100%;
fill-rule:evenodd; stroke-opacity:100%; stroke-width:1px;
stroke-linejoin:miter; stroke-linecap:butt;"
id="ellipse15"
cx="243.365028"
cy="324.312881"
rx="112.516714"
ry="80.747289" />
If I remove the fill-opacity parameter, Batik does'nt barf on it, but if
I just remove the "%" sign (ie by replacing "100%" by "1"), it doesn't
work.
So what's the deal? What's the proper way to specify "fill-opacity"?
BTW I'm using Batik 1.1rc3, sodipodi is from yesterday's CVS.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]