[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>
xsd whitespace normalizedstring

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