- From: Henry S. Thompson <ht@inf.ed.ac.uk>
- Date: Wed, 13 Oct 2010 16:46:27 +0100
- To: WalkinRaven <walkinraven@gmail.com>
- Cc: xml-editor@w3.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 WalkinRaven writes: > Hello, > > At here: > http://www.w3.org/TR/2008/REC-xml-20081126/#sec-predefined-ent > > There is an example: > <!ENTITY lt "&#60;"> > <!ENTITY gt ">"> > <!ENTITY amp "&#38;"> > <!ENTITY apos "'"> > <!ENTITY quot """> Those definitions are unchanged since the first edition. They are correct as given, because & and < must be expanded immediately on being encountered, as explained at the top of that section. <!ENTITY lt "<"> <!ENTITY amp "&"> Both of those violate well-formedness conditions. Have you tried them? ht - -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFMtdRTkjnJixAXWBoRAhLgAJ9EqdOnFm9PnBjmMRAH7F6QrjXzIgCdHNz9 ucuPib2uIaIE9k2URnNdn0o= =Ri9l -----END PGP SIGNATURE-----
Received on Wednesday, 13 October 2010 15:46:59 UTC