No subject

Peter Jones peterj at
Thu Aug 6 14:29:39 BST 1998

P.S. I have read the XML 1 spec concerning whitespace, but this seems to
contain a logical contradiction. Viz:
"An XML processor must always pass all characters in a document that are
not markup through to the application. A validating XML processor must
also inform the application which of these characters constitute
whitespace appearing in element content. ...
xml:space...attached to an element to signal an intention that in that
element, white space should be preserved by applications. In valid
documents, this attribute, like any other must be declared if it is
The value "default" signals that applications' default white space
processing modes are acceptable for this element..."

This is then opposed to the value "preserve" which preserves whitespace
for the element. Which suggests that the default processing is
normalization of whitespace.

But according to the first line above, the default XML processing is
preservation of whitespace. So what is the default mode of the
Preserve or not?

Peter Jones
WebDev Technical Editor
Wrox Press
mailto:peterj at
Wrox Press UK Ltd.
Tel 44 121 706 6826
Fax 44 121 706 2967

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list