[SVGMobile12] 15.3 Java example incorrect

In Section 15.3, the following two lines of Java code in
MyEventListenerInitializer2 :

                float offest =
Float.parseFloat(handlerElement.getAttributeNS("http://www.example.com/foo",
"offset");
                myRect.setAttributeNS(null, width, "" + (width + 10));

should be corrected to:

                float offset =
Float.parseFloat(handlerElement.getAttributeNS("http://www.example.com/foo",
"offset");
                myRect.setAttributeNS(null, "width", "" + (width + offset))

Regards,
Jeff Schiller

Received on Thursday, 22 December 2005 13:52:17 UTC