[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Where does a parser get the replacement text for a characterreference?
- From: John Cowan <cowan@mercury.ccil.org>
- To: Lars Marius Garshol <larsga@garshol.priv.no>
- Date: Thu, 05 Jul 2001 00:13:30 -0400 (EDT)
Lars Marius Garshol scripsit:
> | It's explicitly illegal to have references to surrogate pairs,
>
> I guess that by this you mean that "it's explicitly illegal to refer
> to characters as a pair of character references each referring to a
> surrogate".
More than that, it is explicitly illegal to have character references
like � whether paired or not. A character reference refers
to a character, and U+D800 is not a permitted XML character in any context.
--
John Cowan cowan@ccil.org
One art/there is/no less/no more/All things/to do/with sparks/galore
--Douglas Hofstadter