Re: [SVGMobile12] 15.3 Java example incorrect

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 UTC