RE: <whiteSpace/> and Schema for Datatypes

Awesome :-)

-- Asir
-----Original Message-----
From: Ashok Malhotra [mailto:petsa@us.ibm.com]
Sent: Tuesday, December 12, 2000 12:49 PM
To: Asir S Vedamuthu; Paul.V.Biron@kp.org
Cc: Www-Xml-Schema-Comments@W3. Org; W3c-Xml-Schema-Ig; Ningang chen
Subject: Re: <whiteSpace/> and Schema for Datatypes



Its done!  How's that for response Asir?

All the best, Ashok


"Asir S Vedamuthu" <asirv@webmethods.com>@w3.org on 12/12/2000 09:04:45 AM

Sent by:  www-xml-schema-comments-request@w3.org



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>
Subject:  <whiteSpace/> and Schema for Datatypes



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 13:01:40 UTC