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

Re: [SVGMobile12] 15.3 Java example incorrect

From: Andrew Shellshear <Andrew.Shellshear@cisra.canon.com.au>
Date: Fri, 23 Dec 2005 17:33:37 +1100
Message-ID: <43AB9A41.9080001@cisra.canon.com.au>
To: Jeff Schiller <codedread@gmail.com>
CC: www-svg@w3.org

Jeff Schiller wrote:

>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))
>  
>
We've corrected the example now, as per your comment.  Thanks!

Andrew.
Received on Friday, 23 December 2005 06:33:46 GMT

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