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

Attachment: number_list.tgz
Description: GNU Zip compressed data

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

Reply via email to