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

A Conditional Section in QName Declaration..[XHTMLMOD]

From: <kjc777@nca.or.kr>
Date: Sat, 7 Jul 2001 14:14:21 +0900
Message-ID: <00b301c106a3$ae7f51a0$71421eca@nca.or.kr>
To: <www-html@w3.org>
Even though I stepped into W3C Membership, I'm a beginner in XML yet.
So I can't deeply understand "XHTML Modularization".

Well, I've got a question as below.

In the Appendix section D.2.1 - Qualified Names sub-modules - , 
there is an example code of conditional section which declares a prefix for a module, 'inventory'.
Here is its code.

<![%Inventory.prefixed; [
<!ENTITY % Inventory.pfx "%Inventory.prefix;:">
<!ENTITY % Inventory.pfx "">

[XHTMLMOD] says -
"Define a parameter entity MODULE.pfx that is "%MODULE.prefix::" 
when prefixing is enabled, and "" when it is not." 

In this example, initially the value of Inventory.prefixed is assigned for "IGNORE", so it makes sense.
But, How about in the case of "INCLUDE"???
I think the last line of this example is parsed always, so the prefix is configured as default XML namespace 
in the namespace-aware parser.

Hope your kind comments, 

Received on Saturday, 7 July 2001 01:11:49 UTC

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