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 -->
<![%Inventory.prefixed;[
<!ENTITY % Inventory.xmlns.attrib
    "%NS.decl.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
     "%NS.decl.attrib;
      xmlns %URI.datatype;  #FIXED '%Inventory.xmlns;'"
>
Received on Wednesday, 7 May 2003 15:19:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:44 GMT