Thanks for the patch. I haven't really had time to look at it (so no comments yet), but before we can do anything with the patch we need a contributors agreement to be on file with Apache.
Tonny Kohar wrote:
Hi,
Since there is still no implementation of SVGAnimatedNumberList & SVGNumberList. Here is the patch attached for this.
It is basically based on code from SVGAnimatedLenghtList but modified to meet the SVGAnimatedNumberList specification. So it is work like SVGAnimatedLengthList
So what is left is update the necessary element which requires SVGAnimatedNumberList by removing the //throw new RuntimeException("!!! TODO: getValues()"); and replaced with the new SVGAnimatedNumberList :) and maybe update the Bridge.
Maybe by doing like this add this function on org.apache.batik.dom.svg.SVGOMElement protected SVGAnimatedNumberList getAnimatedNumberListAttribute(String ns,String ln,String val) { SVGAnimatedNumberList result = (SVGAnimatedNumberList)getLiveAttributeValue(ns, ln); if (result == null) { result = new SVGOMAnimatedNumberList(this, ns, ln, val); putLiveAttributeValue(ns, ln, (LiveAttributeValue)result); } return result; }
and for example for SVGOMFEColorMatrixElement public SVGAnimatedNumberList getValues() { //throw new RuntimeException("!!! TODO: getValues()"); return getAnimatedNumberListAttribute (null, SVG_VALUES_ATTRIBUTE, ""); }
Regards Tonny Kohar http://www.kiyut.com
------------------------------------------------------------------------
--------------------------------------------------------------------- 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]