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

Re: [SVGMobile12], SVGT12-107, WD-SVGMobile12-20050413: Comments on examples

From: Dean Jackson <dino@w3.org>
Date: Tue, 13 Dec 2005 07:20:01 -0500
To: Dave Hodder <dmh@dmh.org.uk>
Cc: www-svg@w3.org
Message-ID: <20051213122001.GJ22872@homer.w3.org>

On Thu 08 Dec 2005, Dave Hodder wrote:

> 
> Chris Lilley wrote:
> >On Sunday, April 17, 2005, 2:55:32 PM, Dave wrote:
> 
> <snip/>
> 
> >DH> Sections 7 and 11-17 make a lot of use of the 'id' attribute, mostly in
> >DH> example markup.  Should these be changed to 'xml:id' instead?  (I 
> >gather
> >DH> it will become "best practice" to use xml:id over svg:id.)
> >
> >This is true, and you are right, we probably should.
> 
> I note that some examples now use 'xml:id', whilst others still use 
> 'id'.  Appendix D strongly implies the latter has been deprecated.  If 
> you agree this is an issue, those still using 'id' are:

[long list removed]

You're right. I've updated all the examples to use xml:id rather
than id, with the exception of the SVG 1.1 scripting example.

> >DH> Some of the examples have SVG's version attribute set to '1.1' instead
> >DH> of version '1.2', which I think is an error.  This happens in sections
> >DH> 7.2 (example 07_01.xml), 8.3.1 (08_01.svg), 11.14.1 (solidcolor.svg) 
> >and
> >DH> 19.4 (23_02.svg).
> >
> >Oops, that is an oversight. Thanks.
> 
> Thanks for correcting this.
> 
> I've seen a few more minor errors, as follows:
> 
> 12.2 The 'audio' element.  In example media01.svg, the file ouch.ogg is 
> presumably an Ogg Vorbis file.  I believe the media type should be 
> 'application/ogg' rather than 'audio/vorbis'.

Fixed.

> 
> 15.5 The handler element.  In the SVG 1.1 scripting example, '<rect 
> id="#myRect" ... />' should probably be '<rect id="myRect" ... />', i.e. 
> without the '#' character.  (The code still works though.)

Fixed.

> 
> A.7.3 SVGElementInstance.  In the example code, 
> 'type="application/ecma"' should instead be 
> 'type="application/ecmascript"'.  Also, the line starting "Ecma script 
> usage..." should instead start "ECMAScript usage..."

Fixed.

Many thanks for your review. 

Dean
Received on Tuesday, 13 December 2005 12:20:19 GMT

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