Cameron McCormack-4 wrote:
> 
> A concise whole-program test case would be great.
> 

This might be a bit more useful - 
http://www.nabble.com/user-files/235888/href-test.zip href-test.zip 
contains a simple svg file (test-index.svg) containing one image element and
script to change its href attribute between a file containing a red
rectangle (test-sub1.svg) and another containing a blue rectangle
(test-sub2.svg) by clicking on it.

Steps to reproduce:
1.  Start Squiggle and load test-index.svg - it must be the first file
loaded.
2.  Click on the document - nothing happens.
3.  Reload the document.
4.  Clicking on the document toggles its colour between red and blue.

I see this behaviour for nightly builds from 2006-07-31 and 2006-08-26, but
not for 2006-06-14 or Batik-1.6.

If the line
    //evt.target.getHref();
in the script is uncommented, it works normally on all of these builds.

The zip file also contains TrivialSVGViewer.java, which when compiled and
run displays test-index.svg in a JSVGComponent to the same effect.

I hope this helps!

Regards,
Steve Drake
-- 
View this message in context: 
http://www.nabble.com/Change-to-image-%40xlink%3Ahref-not-seen-by-AnimatedAttributeListener-tf2213238.html#a6183445
Sent from the Batik - Users forum at Nabble.com.


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

Reply via email to