W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2003

Re: White space or whitespace (was Re: Comments for DOM 3 Core Last Call)

From: Paul Grosso <pgrosso@arbortext.com>
Date: Mon, 04 Aug 2003 10:15:04 -0500
Message-Id: <>
To: Susan Lesch <lesch@w3.org>, XML Core WG <w3c-xml-core-wg@w3.org>
Cc: www-dom@w3.org

At 16:00 2003 08 03 -0700, Susan Lesch wrote:
>If you and the XML Core Working Group have time to consider this for a
>minute and you agree that coining "whitespace" is a good idea, 

While I'm not trying to complicate matters, I'm afraid
there is a larger audience for this issue.  I think it
may be a word in transition from two words to one word
(as often happens in the evolution of languages).

Just a few random examples:

The token S in the grammar above stands for whitespace.

And more ambivalently:
16.6 Whitespace: the 'white-space' property

XSL copies CSS in this regard, often using the word "whitespace" but
also having properties such as "white-space" and "white-space-collapse"
and "white-space-treatment".  XSL also uses "white space" in prose except
when quoting CSS where it is one word.

* [element content whitespace] A boolean indicating whether 
  the character is white space.

A scheme-based pointer consists of one or more pointer parts, 
optionally separated by white space (S).

 XML 1.0 NMTOKENS attribute type, i.e. a whitespace separated list of NMTOKEN's

 Even though "Amérique Latine" may exist as a single string outside of
 the list, when it is included in the list, the whitespace between Amérique
 and Latine effectively creates a fourth item

 Any well-formed XML belonging to any namespace in the (whitespace separated) list;

 Chapter followed by a single whitespace character (space, tab, newline, etc.),
 followed by a single digit

On the other hand:

 However, a string may contain white space, and white space delimits the items in a list type,

and the facet is called whiteSpace (presumably the uppercase S implies two words).

The component/facet is whiteSpace (presumably the uppercase S implies two words).

and it talks of "the white space normalization rules".

On the other hand:

Under it says "(where whitespace ·match·es S in [XML 1.0 (Second Edition)])".


  A ·list· datatype can be ·derived· from an ·atomic· datatype whose 
  ·lexical space· allows whitespace

talks of "Whitespace in Document Content" and:

 *  Retain all whitespace between consecutive start tags


  * Normalization of whitespace in start and end tags

9.1 White space ....

For readability, whitespace may be used in expressions even 
though not explicitly allowed by the grammar:

Although the data model is able to represent comments, processing 
instructions, and insignificant whitespace,....

Received on Monday, 4 August 2003 11:16:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:11 UTC