W3C home > Mailing lists > Public > www-html@w3.org > July 2001

Entity Redeclaration in Module Implementation as a DTD

From: <kjc777@nca.or.kr>
Date: Tue, 17 Jul 2001 22:28:41 +0900
Message-ID: <001e01c10ec4$65209ea0$71421eca@nca.or.kr>
To: "w3c" <www-html@w3.org>, "w3c member" <w3c-html-wg@w3.org>
I have two questions;


I want to know where "NS.prefixed" and "NS.decl.attrib" were defined.


As you say, Section 4.2 (Entity Declarations) of the XML Recommendation [1] says:
"If the same entity is declared more than once, the first declaration encountered is binding".

I want to know if the next example does not have any problem in redeclaration.

It shows an example of using a different XML namespace prefix in a document instance. 
As you know, the initial value of parameter entity for prefix was set to "inventory" 
in the case of prefixed mode.

<!DOCTYPE i:shelf SYSTEM "inventory-1.dtd" [
    <!ENTITY % Inventory.prefixed "INCLUDE">
    <!ENTITY % Inventory.prefix "i">
<i:shelf xmlns:i="http://www.example.com/xmlns/inventory">
          this is a description.
          this is the price.
          this is the price.

Hope your comments,

Received on Tuesday, 17 July 2001 09:26:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:57 UTC