W3C home > Mailing lists > Public > public-html@w3.org > April 2009

Re: Require quotes around attributes for more characters

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 26 Apr 2009 19:46:49 +0000 (UTC)
To: Simon Pieters <simonp@opera.com>
Cc: public-html <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0904261945190.10370@hixie.dreamhostps.com>
On Fri, 27 Feb 2009, Simon Pieters wrote:
>
> See
> 
> http://code.google.com/p/html5lib/issues/detail?id=92
> 
> and
> 
> http://code.google.com/p/html5lib/issues/detail?id=93
> 
> Maybe the spec should require quotes when an attribute value contains `, <, or
> one of
> 
> U+0009, U+000A, U+000B, U+000C, U+000D, U+0020, U+002F, U+00A0, U+1680,
> U+180E, U+180F, U+2000, U+2001, U+2002, U+2003, U+2004, U+2005, U+2006,
> U+2007, U+2008, U+2009, U+200A, U+2028, U+2029, U+202F, U+205F and U+3000
> 
> for better compat with legacy browsers, and to avoid security issues.

I haven't added this requirement to the spec, because the problems are not 
intrinsic problems with the language but transitory problems that will go 
away in due course.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 26 April 2009 19:47:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:02 UTC