W3C home > Mailing lists > Public > www-svg@w3.org > December 2005

[SVGMobile12] 15.3 Java example incorrect

From: Jeff Schiller <codedread@gmail.com>
Date: Thu, 22 Dec 2005 07:51:48 -0600
Message-ID: <da131fde0512220551q58d71c8dt8505eeec2707fa3e@mail.gmail.com>
To: www-svg@w3.org

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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:32 GMT