W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2008

Re: [WebIDL] questions

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 27 Nov 2008 12:18:12 +1100
To: public-webapps@w3.org
Message-ID: <20081127011812.GC17976@arc.mcc.id.au>

Hi Kartikaya.

Kartikaya Gupta:
> A couple of questions I have after quickly looking over the WebIDL
> spec:
>
> 1. Although no mention is made of case-sensitivity in the spec, I
> assume that all the tokens are case sensitive. Is this correct? By
> tokens I'm including the names/values of the extended attributes (e.g.
> "PutFowards", "Empty") and things like "getraises" and "setraises".

Yes.  I’ve added a paragraph clarifying this:

  http://dev.w3.org/2006/webapi/WebIDL/#idl-grammar

> 2. There is a sentence in section 3.8.8 that says "The [PutForwards]
> extended attribute MUST take an identifier that is the identifier
> of an attribute that exists on the interface and which has the same
> type as this attribute." This sentence is pretty confusing and I'm
> not sure what "which" refers to in this sentence. It seems to imply
> the attribute being forwarded to should have the same type as the
> attribute with the PutForwards extended attribute, but the example
> below doesn't do that.

The example should be valid, so the confusing sentence is wrong.  I’ve
reworded it now:

  http://dev.w3.org/2006/webapi/WebIDL/#PutForwards

Thanks,

Cameron

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Thursday, 27 November 2008 01:18:54 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:28 GMT