OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   White space

[ Lists Home | Date Index | Thread Index ]
  • From: Peter Jones <peterj@wrox.com>
  • To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>
  • 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?

Peter Jones
WebDev Technical Editor
Wrox Press
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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS