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

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   instead of  . " 
>    We would prefer your example to use the hexadecimal NER   
> 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 
> å rather than å
> 	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