Re: RFC: White Space Handling In XML Parsing

Joel A. Nava wrote:

> 3) Elements that do not specify a value for the 'xml:space'
>    attribute inherit that value from the element in which
>    they are contained up to the root element. If the root
>    element does not specify a value for the 'xml:space'
>    attribute, the value 'default' is assumed.
> 
> [This is what the XML REC requires.]

Actually not.  The last paragraph of clause 2.10 says:

# The root element of any document is considered to have
# signaled no intentions as regards application space handling,
# unless it provides a value for this attribute or the
# attribute is declared with a default value. 
 
So there are really three possible states of "xml:space" as inherited:
default, preserve, and clueless.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

Received on Monday, 17 May 1999 09:32:14 UTC