[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK: Re: strange definition of & and < in iso-num.ent
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 / Alexander Dupuy <dupuy@sysd.com> was heard to say: | In the XML entities file iso-num.ent (ISO Numeric and Special Graphic | Entities V0.3 $Id: iso-num.ent,v 1.3 2002/06/13 17:39:20 nwalsh Exp $) | there are the following two rather odd definitions of & and <: | | <!ENTITY lt "&#60;"> <!-- LESS-THAN SIGN --> | <!ENTITY amp "&#38;"> <!-- AMPERSAND --> | | which effectively define the < entity as "<" and & as "&". | | In practice, this has little effect, since the XML spec predefines | & and < as "&" and "<", and most tools won't modify those | definitions, but it can cause some confusion. You can see somebody | relying on these definitions in | http://www.mulberrytech.com/quickref/XMLquickref.pdf (where, on the | second page, the list of Predefined General Entities gives these | strange definitions of & and <). | | Unless there is some subtle reason beyond my understanding why these | definitions should be given as such, they should probably be corrected | in the next release. They are correct as defined. See the XML Recommendation[1] for an explanation. Be seeing you, norm [1] http://www.w3.org/TR/REC-xml#sec-predefined-ent - -- Norman Walsh <ndw@nwalsh.com> | Fast. Cheap. Well. Pick two. http://www.oasis-open.org/docbook/ | Chair, DocBook Technical Committee | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/> iD8DBQE+VO1ROyltUcwYWjsRAkn0AJ9W8oT/4r4CuohRDYqR/bL6fpcjaACggMih cWG2iHwqIcrFjFkb63MPm9U= =rPk/ -----END PGP SIGNATURE-----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC