W3C home > Mailing lists > Public > www-i18n-comments@w3.org > March 2006

Re: Hex NCRs in generated XML: nice, but hardly essential.

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 28 Mar 2006 15:12:36 +0200
To: Martin Duerst <duerst@it.aoyama.ac.jp>
Cc: Chris Lilley <chris@w3.org>, "www-i18n-comments@w3.org" <www-i18n-comments@w3.org>
Message-ID: <dlci22hlqio74a572blsoduc2tmha2otnv@hive.bjoern.hoehrmann.de>

* Martin Duerst wrote:
>[...]

The Recommendation is very clear, the requirement

  Escapes SHOULD only be used when the characters to be expressed are
  not directly representable in the format or the character encoding of
  the document, or when the visual representation of the character is
  unclear.

is not optional and must be complied with unless there are specific
reasons not to, and in the rare and exceptional cases where there are
such specific reasons we have the requirement

  Content SHOULD use the hexadecimal form of character escapes rather
  than the decimal form when there are both.

that is not optional either and must be complied with unless there are
specific reasons not to. These are conformance requirements, not some
tips for cooler coding. I am planning to flag all violations of SHOULD
level requirements as Warnings in the Markup Validator, no matter
whether it's use of private use code points, choice of encodings, or
use of escape sequences. If that is not what you want, the document is
in error.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 28 March 2006 13:12:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:32:35 GMT