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