W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2005

[whatwg] Use IRI instead of URI

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 7 Feb 2005 22:47:48 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0502072245230.27753@dhalsim.dreamhost.com>
On Mon, 7 Feb 2005, Matthew Raymond wrote:
> Anne van Kesteren wrote:
> > 2.5. Extensions to existing attributes
> > 
> > Under 'maxlength': "Valid URIs and e-mail addresses in particular can
> > often be surprisingly long."
> > 
> > I guess that should be IRI since it refers to the value |type="uri"| can
> > have.
> 
> Should that be |type="iri"|??? Perhaps we should have both, with "uri" 
> being an alias.

I believe type="uri" would be a lot easier for authors to understand. I 
generally would suggest we stay away from aliases unless we have very 
specific needs for them, because they are an implementation nightmare 
(you have to deal with obscure problems like "what does the DOM |type| 
attribute return?" and "how do you canonicalise the document?").

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 7 February 2005 14:47:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:21 UTC