Hi All,

i have used style value as "fill:white; stroke:rgb(0,0,0)" to my rectangle. 
But while removing the element, i am getting the following error.

Since i will get the color value from java Color class, i have constructed rgb 
string from Color class's RGB value. 

So can anyone please specify what is the error in that style attribute?


The attribute "style" represents an invalid CSS declaration ("fill:white; 
stroke:rgb(0,0,0)").

org.w3c.dom.DOMException: <unknown>:
The attribute "style" represents an invalid CSS declaration ("fill:white; 
stroke:rgb(0,0,0)").
Original message:
        at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap
(CSSEngine.java:818)
        at org.apache.batik.css.engine.CSSEngine.invalidateProperties
(CSSEngine.java:1991)
        at org.apache.batik.css.engine.CSSEngine.propagateChanges
(CSSEngine.java:2130)
        at org.apache.batik.css.engine.CSSEngine.invalidateProperties
(CSSEngine.java:2031)

Thanks,
Selva


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to