W3C home > Mailing lists > Public > public-html@w3.org > July 2010

Re: i18n Polyglot Markup/NCRs (7th issue)

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Fri, 16 Jul 2010 01:54:22 +0400
To: Richard Ishida <ishida@w3.org>
Cc: public-html@w3.org, Eliot Graff <eliotgra@microsoft.com>, public-i18n-core@w3.org
Message-ID: <20100716015422765604.a630472a@xn--mlform-iua.no>
Leif Halvard Silli, Fri, 16 Jul 2010 00:53:07 +0400:
> Richard Ishida, Tue, 13 Jul 2010 20:40:24 +0100:

>> http://www.w3.org/International/reviews/1007-polyglot/
> 	7th issue:	
>  	]]
>    8. Named Entity References	Named entity references	
>    " For example, polyglot markup uses &#160; instead of &nbsp;. " 
>    We would prefer your example to use the hexadecimal NER &#xA0; 
> rather than the decimal. See 
> http://www.w3.org/TR/2005/REC-charmod-20050215/#C048
>    [[
> 	I can agree that the Polyglot Markup spec should mention the 
> hexadecimal _as well as_ the decimal. But I see no reason to not 
> mention the decimal.
> 	You may also want to consult bug 9300 [2]. It shows that if we want to 
> create a maximum compatibility specification, then decimal NCRs are 
> sometimes more IE compatible than hexadecimal ones are. 

Sorry. That was incorrect. That issue is only an issue whenever one is 
not using the ";" - which is not an option in polyglot markup.

> That bug 
> demonstrates, I dare say, a lot of the user agent bugs with regards to 
> NCRs. If we want Polyglot Markup to be maximum compatible w.r.t. NCRS, 
> then we should probably:
> 	1) recommend decimal NCRs over hexadecimal NCRs
> 	2) recommend authors to not add zeros in NCRs - e.g. require/recommend 
> &#229; rather than &#00000229;
> 	3) for even better compatibility, one should not use NCRs ...

    4) There should also be a length limit on NCRs - though that might 
be seen as the same as 2) ...

> 	However, to be honest, I am not 100% certain that we _should_ go down 
> that road ...
> [1] http://www.w3.org/Bugs/Public/show_bug.cgi?id=9962
> [2] http://www.w3.org/Bugs/Public/show_bug.cgi?id=9300

Finally: I have skimmed the Charmod document earlier 
(http://www.w3.org/TR/2005/REC-charmod-20050215/) earlier. In fact, 
much in bug 9300 are inspired by that document. (I recommend to try the 
test case(s) in bug 9300.) There are many things in the Charmod 
document that can or could be specified in Polyglot Markup, with the 
goal of maximum compatibility as justification. However, I think that 
specifically hexadecimal NCR as preferred over decimal NCRs, are not 
one of those issues.
leif halvard sili
Received on Thursday, 15 July 2010 21:55:08 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:21 UTC