W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2000

<whiteSpace/> and Schema for Datatypes

From: Asir S Vedamuthu <asirv@webmethods.com>
Date: Tue, 12 Dec 2000 09:04:45 -0500
To: "Www-Xml-Schema-Comments@W3. Org" <www-xml-schema-comments@w3.org>
Cc: "W3c-Xml-Schema-Ig" <w3c-xml-schema-ig@w3.org>, "Ningang chen" <nchen@webmethods.com>
Message-ID: <NEBBIAMHOMNDLFMEIEBAEEKICDAA.asirv@webmethods.com>
Reference http://www.w3.org/TR/2000/CR-xmlschema-2-20001024/#dt-whiteSpace

"whiteSpace is applicable to all atomic and list datatypes. 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; .."

Second sentence in the above fragment can be represented using XML Schema
Definition Language. Example,

<whiteSpace value="collapse" fixed="true"/>

But, schema for datatypes does not capture this using 'fixed' attribute.

Regards, Asir S Vedamuthu
Received on Tuesday, 12 December 2000 09:05:14 GMT

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