[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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>
RE: whiteSpace and normalizedString

<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 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.