Re: A Conditional Section in QName Declaration..[XHTMLMOD]

At 2001-07-07T14:14+0900, ±èÁøÃâ wrote:-

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

> 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.

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".

[1] <http://www.w3.org/TR/REC-xml#sec-entity-decl>


Tim Bagot

Received on Saturday, 7 July 2001 08:01:27 UTC