Koes, Derrick wrote:
I've included an example document that has two style attributes.
In this form, the file will not transcode with batik.
'none' is not a valid value for 'opacity', you didn't get the following
message? Your image href is also a little odd (the host isn't complete) so I
just commented out the element.
Enclosed Exception:
file:/D:/batik/xml-batik/../test/style.svg:
The attribute "style" represents an invalid CSS declaration
("fill:#cc33ff;stroke:#ff0000;stroke-width:1;opacity:none").
Original message:
The "opacity" property does not support identifier values.
<?xml version="1.0"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303
Stylable//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"><svg
contentStyleType="text/css" width="640" height="480" viewBox="120 0 640
480"><g><image x="120" y="0" width="640" height="480"
xlink:href="http://koes/dora/MediaContentHandler?id=1&type=image"/></g><
g id="drawBoard" onclick="selector(evt)" onmouseout="offSel()"
onmouseover="onSel(evt)"><g id="ellipse_1" style="fill:none;"><ellipse
cx="160.5" cy="234" rx="62.5" ry="25"
style="fill:#cc33ff;stroke:#ff0000;stroke-width:1;opacity:none"></ellipse></
g></g></svg>
-----Original Message-----
From: Thomas DeWeese [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 2:49 PM
To: Batik Users
Subject: Re: style attribute question from newbie
Koes, Derrick wrote:
Sorry, I incorrectly typed the form for style with an '=', I'm actually
using a ':", such as style="fill-opacity:.5;".
Then you need to include a more complete example as this is used all the
time without a problem.
I'm attempting to transcode to JPEG. Everything works well when I use
style attributes like fill-opacity=".5". However, when I use the style
attribute such as style="fill-opacity=.5;", batik does not transcode.
Is there something I have to set to tell batik to use the style
attribute rather than individual attributes? I'm using the batik
version which comes with FOP 0.20.5.
What I've tried so far:
Setting contentStyleType="text/css" on the svg element.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This electronic transmission is strictly confidential to Smith & Nephew and
intended solely for the addressee. It may contain information which is
covered by legal, professional or other privilege. If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission. If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]