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

* 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 UTC