W3C home > Mailing lists > Public > xml-editor@w3.org > January to March 1999

XML 1.0: Treatment of entities in the comment.

From: Constantine Plotnikov <cap@novosoft.nsc.ru>
Date: Thu, 28 Jan 1999 16:12:33 +0600
Message-ID: <36B03811.2CCB37E9@novosoft.nsc.ru>
To: xml-editor@w3.org
Hi!

I have not found in the specification how XML processor should treat 
entities in the comment. The proplem it that if in DTD I use comments
describing enetity with examples before enetity declaration, then
some XML processors ignore it and some give error on it.

Example of XML processor that gives this error is AElfred
http://www.microstar.com/aelfred.html. Document and DTD that 
produce an error are http://www.w3.org/TR/1998/REC-xml-19980210.xml
and http://www.w3.org/TR/1998/spec.dtd.

I suggest to specify how entites are treated in the comment.
For example it may be one of following:
a) they should not be expanded.
b) they may be expanded by XML processor and therefore should be
   declared before usage in comment.

I think that issue is important for document portability.

Constantine
Received on Thursday, 28 January 1999 05:11:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:29 GMT