Hi Mathieu,
Note that you provide little information about Batik version being
used (SVN checkout? Which revision number?). Also, you don't state
whether you are following the instructions in "Scripting With Java"
[1] (although you seem to, according to the "public void run(){" which
I imagine it's a runnable implementation. Although it's a bit of
overhead, please always try to state this, and other potentially
useful information (Java version, operating system, etc.).
> Let's see my code :
[...]
> toColor2.setAttributeNS(null, "id","blink2");
[...]
> toColor2.setAttributeNS(null, "begin", "0s;blink1.end");
[...]
> toColor1.setAttributeNS(null, "id","blink1");
[...]
> toColor1.setAttributeNS(null, "begin", "blink2.end");
Aren't the "blink#" in identifiers and SMIL begin creating a circular
reference? I'd suggest you created a static SVG file (declaratively)
in order to check if this works (if you create a sample file you'll be
able to test not just Squiggle but also Opera, IE+ASV, Firefox nightly
builds, etc.). ;-)
> Can you help me, please, to find the mistake? I dont see what could be
> the problem (nothing is null in the appendChild method I call...) ! I
> often add nodes to documents in my projects, and it's the first time i
> had to face this kind of error.
Twice? ;-)
Hope this helps,
Helder Magalhães
[1] http://xmlgraphics.apache.org/batik/using/scripting/java.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]