Hi Cameron,
thanks for the fast reply.
Hmmm, that's strange. I still get the same error, although I removed the
trailing ";" as you described. Loading the document is no problem, but starting
the Update Manager I get about 30-50 errors with different CSS-Values.
I use Java Version 1.5.06 and I just tested Java 1.4_12 but with the same
result.
My Batik-Version is the newest in the SVN-Repository.
Perhaps any further suggestions?
Thanks for help.
Florian
org.w3c.dom.DOMException: file:/D:/Data/Documents and
Settings/florian.pepping/Desktop/florian.svg:
The attribute "fill-opacity" represents an invalid CSS value
("0,0029999613761901855").
Original message:
For input string: "0029999613761901855"
at
org.apache.batik.css.engine.CSSEngine.setMainProperties(CSSEngine.java:1031)
at
org.apache.batik.css.engine.CSSEngine$CSSNavigableDocumentHandler.overrideStylePropertyChanged(CSSEngine.java:2555)
at
org.apache.batik.dom.svg.SVGOMDocument.overrideStylePropertyChanged(SVGOMDocument.java:486)
at
org.apache.batik.dom.svg.SVGStylableElement$OverrideStyleDeclaration.propertyChanged(SVGStylableElement.java:749)
at
org.apache.batik.css.dom.CSSOMStyleDeclaration.setProperty(CSSOMStyleDeclaration.java:156)
at
org.apache.batik.dom.svg.SVGStylableElement.updatePropertyValue(SVGStylableElement.java:179)
at org.apache.batik.anim.AnimationEngine.tick(AnimationEngine.java:321)
at
org.apache.batik.bridge.SVGAnimationEngine.access$2(SVGAnimationEngine.java:1)
at
org.apache.batik.bridge.SVGAnimationEngine$AnimationTickRunnable.run(SVGAnimationEngine.java:657)
at org.apache.batik.util.RunnableQueue.run(RunnableQueue.java:236)
at java.lang.Thread.run(Unknown Source)
##############################################
I simplified my animation a little bit but unfortunately with no result.
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="text/ecmascript"
zoomAndPan="magnify" contentStyleType="text/css"
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision;
image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
version="1.0" width="145.2mm" xml:space="preserve"
preserveAspectRatio="xMidYMid meet" viewBox="0 0 145.2 133.298"
height="133.298mm">
<defs>
<style type="text/css" xml:space="preserve">
<![CDATA[
.str0
{stroke:#1F1A17;stroke-width:0.176;stroke-linecap:round;stroke-linejoin:round}
.fil2 {fill:#FF0000}
.fil0 {fill:#FF0000}
.fil1 {fill:#FF0000}
.fil3 {fill:#FF0000}
]]>
</style>
</defs>
<g transform="translate(-97.0351,-1020.94)">
<g id="s1">
<rect transform="matrix(0.444444 0.2566 0 0.501264 137.723 1069.59)"
width="71.802" class="fil1 str0" id="_84631240" height="71.802"/>
<polygon id="_84630264" class="fil2 str0" points="201.547,1069.59
169.635,1088.02 169.635,1124.01 201.547,1105.58 "/>
<polygon id="_178553640" class="fil3 str0" points="201.547,1069.59
169.635,1088.02 137.723,1069.59 169.635,1051.17 "/>
</g>
</g>
<animate id="ausblenden" xlink:href="#s1"
attributeName="fill-opacity"
attributeType="XML"
from="1.0"
to="0.0"
begin ="1s"
dur="5s"
fill="freeze"
repeatCount="1"/>
</svg
-----Original Message-----
From: Cameron McCormack [mailto:[EMAIL PROTECTED]
Sent: Monday, August 14, 2006 9:01 AM
To: [email protected]
Subject: Re: Animating CSS: invalid values again
Hi Florian.
Pepping, Florian:
> referring to the message of Andreas Neuman from the 31 of July, I still
> get an error while animating the CSS-Value "fill-opacity".
This works for me with the latest SVN code (after removing the trailing
semicolon from the ‘ausblenden’ element’s begin attribute.
--
Cameron McCormack, http://mcc.id.au/
xmpp:[EMAIL PROTECTED] ▪ ICQ 26955922 ▪ MSN [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]