W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2001

Normalization (whiteSpace)

From: Elena Litani <hlitani@jtcsv.com>
Date: Tue, 06 Feb 2001 13:03:46 -0500
Message-ID: <3A803C82.C9991200@jtcsv.com>
To: xmlschema-dev@w3.org
Hi,

I am reading Datatypes [2.4.2.6 whiteSpace]:

"For all atomic datatypes other than string (and types derived by
restriction from it) the value of whiteSpace is collapse and cannot be
changed by a schema author; for string the value of whiteSpace is
preserve; for any type derived by restriction from string the value of
whiteSpace can be any of the three legal values".

I believe the whiteSpace value for CDATA should be "replace" [cannot be
changed by a schema author]. For TOKEN (and datatypes derived from it)
the value of whiteSpace should be collapse [cannot be changed by a
schema author].

Am I right?
If so, why section 2.4.2.6 mentions nothing about that?

Thank you,
Elena
Received on Tuesday, 6 February 2001 13:02:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:33 GMT