Appendix D XML 1 spec

Peter Jones peterj at
Wed Aug 26 13:19:11 BST 1998

I'm having trouble figuring things out again...
Can anyone tell me why in the following example in the spec Appdx D

<!ENTITY example "<p>An ampersand (&#38;#38;) may be escaped
numerically (&#38;#38;#38;) or with a general entity
(&amp;amp;).</p>" >
when parsed the &#38;#38;#38; is replaced with &#38;#38; which when
referenced gives &#38;
but &amp;amp; when is parsed it remains &amp;amp; in the examples given,
and only becomes &amp; when referenced.
An error?

Peter Jones
WebDev Technical Editor
Wrox Press
mailto:peterj at
Wrox Press UK Ltd.
Tel 44 121 706 6826
Fax 44 121 706 2967

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list