|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: whiteSpace and normalizedString
From: Michael Kay <mike@saxonica.com>
Date: Mon, 18 Oct 2004 18:31:30 +0100 To: "'Nikola'" <nikola.stojanovic@acm.org>, <xmlschema-dev@w3.org> Message-Id: <E1CJbMB-0000qa-00@ukmail1.eechost.net> normalizedSpace is a type derived by restriction from string, so the assertion quoted doesn't apply to it. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: xmlschema-dev-request@w3.org > [mailto:xmlschema-dev-request@w3.org] On Behalf Of Nikola > Sent: 18 October 2004 18:22 > To: xmlschema-dev@w3.org > Subject: whiteSpace and normalizedString > > > Here are two snips from http://w3c.org/TR/xmlschema-2/: > > <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> > > <snip n="2"> > <xs:simpleType name="normalizedString" id="normalizedString"> > <xs:annotation> > <xs:documentation > source="http://www.w3.org/TR/xmlschema-2/#normalizedString"/> > </xs:annotation> > <xs:restriction base="xs:string"> > <xs:whiteSpace value="replace" > id="normalizedString.whiteSpace"/> > </xs:restriction> > </xs:simpleType> > </snip> > > Is assertion under "1" correct? > > Regards, > Nikola > > >Received on Monday, 18 October 2004 17:31:39 GMT |
Subscribe in XML format
|






