W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2004

RE: whiteSpace and normalizedString

From: Nikola <nikola.stojanovic@acm.org>
Date: Mon, 18 Oct 2004 15:50:18 -0400
Message-ID: <00e601c4b54b$b23af740$4502a8c0@kubura>
To: <xmlschema-dev@w3.org>

<snip n="1">
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;
</snip>

<Michael Key>
normalizedSpace is a type derived by restriction from string, so the assertion quoted doesn't apply to it.
</Michael Key>

When I read the above assertion and the definition for simpleType "normalizedString", I assume that for normalizedString all these 
hold:

1 - is .atomic. datatype
2 - is "other then string"
3 - is ".derived. by .restriction from string"
4 - value for its whiteSpace is "replace"

I cannot see how the "derived by restriction from string" excludes normalizedString as there is no negation in "and types .derived. 
by .restriction. from it". As in [3] above, I assume that "it" refers to string, not to plural "all .atomic. datatypes".

Is the key here that "other then string" is in some way informal and doesn't include datatypes that are derived from it? If that's 
the case, maybe this wording could be more precise?

Regards,
Nikola 
Received on Monday, 18 October 2004 19:50:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:11 UTC