W3C home > Mailing lists > Public > www-international@w3.org > January to March 2010

Re: For review: Character encodings in HTML and CSS

From: John Cowan <cowan@ccil.org>
Date: Wed, 10 Feb 2010 02:38:50 -0500
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Cc: Richard Ishida <ishida@w3.org>, www-international@w3.org
Message-ID: <20100210073850.GG20393@mercury.ccil.org>
Leif Halvard Silli scripsit:

> (1) It should be mentioned that in SGML based mark-up, such as HTML4, 
> one may omit the ";" in NCRs. All the big 6 (IE, Firefox, Opera, 
> Webkit, Konqueror, Chrome [assuming it is like Webkit]) desktop 
> browsers supports this _inside attributes_.   (I have a quite thorough 
> test document here: <http://målform.no/ncr-test/> ) They also all 
> support it for text, except that IE has an exception when it comes to 
> NCRs directly in text: Then, for hex NCRs, IE requires semicolons, 
> while for decimal NCRs it does not require it. [IE got support for hex 
> NCRs later on, didn't it? Must be a bug ... !] So one could give the 
> usage advice that is "better" and simpler to use the semicolon than to 
> avoid it. But still tell that it is permitted to drop it. (My view is 
> that it should be permitted in HTML5 too.) Another part of the advice 
> could be that it is safer - and more justified - to use inside machine 
> readable attributes than inside human readable text.

On the contrary, I would not document that you can drop it, particularly
when you can't always.

-- 
Henry S. Thompson said, / "Syntactic, structural,               John Cowan
Value constraints we / Express on the fly."                 cowan@ccil.org
Simon St. Laurent: "Your / Incomprehensible     http://www.ccil.org/~cowan
Abracadabralike / schemas must die!"
Received on Wednesday, 10 February 2010 07:39:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 February 2010 07:39:20 GMT