W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2003

Qestion about "Modularization of XHTMLT. W3C Recommendation 10 April 2001" - "Section D.2.2. Declaration sub-module(s)"

From: <ilya@po4ta.com>
Date: Tue, 6 May 2003 21:26:33 +0300
Message-ID: <000201c3141d$5edc5150$0100a8c0@ilya>
To: <www-html-editor@w3.org>
From recomendation text:
An XHTML declaration module should be constructed using the following process:
  1.. Define a parameter entity to use within the ATTLIST of each declared element. This parameter entity should contain %NS.decl.attrib; when %MODULE.prefixed; is set to INCLUDE, and %NS.decl.attrib; plus "xmlns %URI.datatype; #FIXED '%MODULE.xmlns;'" when %MODULE.prefixed; is set to IGNORE.
From following example:
<!-- Define the global namespace attributes -->
<!ENTITY % Inventory.xmlns.attrib
<!ENTITY % Inventory.xmlns.attrib
     "xmlns %URI.datatype;  #FIXED '%Inventory.xmlns;'"

As far as I understand there should be inclusion of %NS.decl.attrib; in %Inventory.xmlns.attrib; in case when %Inventory.prefixed; is not set to INCLUDE, so it should be defined as
<!ENTITY % Inventory.xmlns.attrib
      xmlns %URI.datatype;  #FIXED '%Inventory.xmlns;'"
Received on Wednesday, 7 May 2003 15:19:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:48 UTC