W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2011

Re: [WebIDL] Remove string constants

From: Cameron McCormack <cam@mcc.id.au>
Date: Mon, 12 Dec 2011 15:49:08 +1100
Message-ID: <4EE587C4.7040802@mcc.id.au>
To: public-script-coord@w3.org
On 9/12/11 9:12 PM, Anne van Kesteren wrote:
> I would expect if we ever decide on some API that needs to work with the
> HTML/SVG/MathML namespaces we would use simple prefixes for them. E.g.
> "svg:svg", "html:a", etc. I'm personally not convinced at least that
> namespaces are a good use case for string constants. And since there is
> no such API currently we can always add this feature later may the need
> arise.

My question was more about a general class of feature -- constants where 
the identifier of the constant isn't just the same as the constant value 
itself (uppercased) -- rather than constants for XML namespaces 
specifically.

But indeed there isn't any concrete need for string constants currently, 
so OK, they're gone.

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.417;r2=1.418;f=h

For completeness, please indicate whether this resolution is acceptable.

Thanks,

Cameron
Received on Monday, 12 December 2011 04:49:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:05 UTC