XML 1.0: Treatment of entities in the comment.

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 UTC