namespace for unparsed entity

Simon St.Laurent simonstl at simonstl.com
Sun Sep 19 18:04:24 BST 1999


This question deals with 'namespaces' as used by section 4 of the XML 1.0
recommendation, NOT namespaces as described by the Namespaces in XML
recommendation.

The paragraph below is from section 4 of the XML 1.0 recommendation:
>General entities are entities for use within the document content....
>Parameter entities are parsed entities for use within the DTD.  These
>two types of entities use different forms of reference and are 
>recognized in different contexts.  Furthermore, they occupy different
>namespaces; a parameter entity and a general entity with the same name
>are two distinct entities.

This only describes the two kinds of _parsed_ entities, not the third
possibility of unparsed entities.  Do unparsed entities likewise have their
own namespace?  It seems like a processor could get confused if there were
unparsed and general entities with the same name, making it potentially
difficult to enforce the rules about referencing unparsed entities in
content and general entities in attributes of type ENTITY or ENTITIES.

I don't see any notes on this in the errata, so I'm hoping there's a good
simple answer.

Simon St.Laurent
XML: A Primer (2nd Ed - September)
Building XML Applications
Inside XML DTDs: Scientific and Technical
Sharing Bandwidth / Cookies
http://www.simonstl.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list