W3C home > Mailing lists > Public > xml-editor@w3.org > July to September 1999

namespace for unparsed entity

From: Simon St.Laurent <simonstl@simonstl.com>
Date: Sun, 19 Sep 1999 23:34:31 -0400
Message-Id: <199909200330.XAA13926@hesketh.net>
To: xml-editor@w3.org
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

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
Received on Sunday, 19 September 1999 23:31:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:39 UTC