W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1999

Re: RFC: White Space Handling In XML Parsing

From: John Cowan <cowan@locke.ccil.org>
Date: Mon, 17 May 1999 09:31:19 -0400
Message-ID: <37401A26.2D52EC48@locke.ccil.org>
To: "Joel A. Nava" <jnava@Adobe.COM>
CC: www-dom@w3.org
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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:05 UTC