Hi Andreas,

Andreas Neumann <[EMAIL PROTECTED]> wrote on 07/31/2006 11:40:35 
AM:

> in http://www.carto.net/papers/svg/samples/animated_bustrack.svg
> 
> I also get an error message complaining about invalid CSS values:
> 
> The attribute "stroke-dashoffset" represents an invalid CSS value 
> ("8.9263916E-4").

    This is an invalid CSS value (CSS doesn't allow scientific notation).
I'm guessing the problem is that the SMIL engine doesn't 'restrict' it's
self when animating CSS values.

    I'm guessing that Cameron will want to look at 
batik.svggen.SVGGeneratorContext and it's use of DecimalFormat to avoid
use of scientific notation when stringitizing floats.

> Original message:
> The "stroke-dashoffset" property does not support dimension values.
>     at org.apache.batik.css.engine.CSSEngine.setMainProperties(Unknown 
> Source)
>     at 
> org.apache.batik.css.engine.CSSEngine$CSSNavigableDocumentHandler.
> overrideStylePropertyChanged(Unknown 
> Source)
>     at 
> 
org.apache.batik.dom.svg.SVGOMDocument.overrideStylePropertyChanged(Unknown 

> Source)
>     at 
> org.apache.batik.dom.svg.SVGStylableElement$OverrideStyleDeclaration.
> propertyChanged(Unknown 
> Source)
>     at 
> org.apache.batik.css.dom.CSSOMStyleDeclaration.setProperty(Unknown 
Source)
>     at 
> org.apache.batik.dom.svg.SVGStylableElement.updatePropertyValue(Unknown 
> Source)
>     at org.apache.batik.anim.AnimationEngine.tick(Unknown Source)
>     at org.apache.batik.bridge.SVGAnimationEngine.access$700(Unknown 
Source)
>     at 
> 
org.apache.batik.bridge.SVGAnimationEngine$AnimationTickRunnable.run(Unknown 

> Source)
>     at org.apache.batik.util.RunnableQueue.run(Unknown Source)
>     at java.lang.Thread.run(Thread.java:613)
> 
> I guess the issue is related to the other reported error message (the 
> moving airplane example).
> 
> Thanks for having a look at this problem,
> 
> Andreas
> 
> -- 
> ----------------------------------------------
> Andreas Neumann
> Institute of Cartography
> ETH Zurich
> Wolfgang-Paulistrasse 15
> CH-8093  Zurich, Switzerland
> 
> Phone: ++41-44-633 3031, Fax: ++41-44-633 1153
> e-mail: [EMAIL PROTECTED]
> www: http://www.carto.net/neumann/
> SVG.Open: http://www.svgopen.org/
> Carto.net: http://www.carto.net/
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to