Whitespace question

David Brownell david-b at pacbell.net
Wed Aug 4 17:38:08 BST 1999


Gavin McKenzie wrote:
> 
> My understanding of this paragraph is to say that,
> 
> "When a document does not place an explicit xml:space attribute on the root
> element, an application may choose to process the whitespace within that
> document as it chooses; i.e. as equivalent to either one of 'default'or
> 'preserve' based on the application's default behaviour"

My understanding is that xml:space="default" is the default behavior
in all cases -- "no intention" declared.  The only declarable intention
is with xml:space="preserve", which in practical terms suggests that
the "ignorable whitespace" isn't really ignorable.

The problem is that the xml:space="default" behavior isn't specified
well enough that there will be an interoperable interpretation.

- Dave

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list