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

RE: <whiteSpace/> and Schema for Datatypes

From: Asir S Vedamuthu <asirv@webmethods.com>
Date: Tue, 12 Dec 2000 13:01:08 -0500
To: "Ashok Malhotra" <petsa@us.ibm.com>, <Paul.V.Biron@kp.org>
Cc: "Www-Xml-Schema-Comments@W3. Org" <www-xml-schema-comments@w3.org>, "W3c-Xml-Schema-Ig" <w3c-xml-schema-ig@w3.org>, "Ningang chen" <nchen@webmethods.com>
Message-ID: <NEBBIAMHOMNDLFMEIEBACEKLCDAA.asirv@webmethods.com>
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 GMT

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