Lists Home |
Date Index |
- From: Peter Jones <firstname.lastname@example.org>
- To: "'email@example.com'" <firstname.lastname@example.org>
- Date: Thu, 6 Aug 1998 13:48:23 +0100
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?
WebDev Technical Editor
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:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)