[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

whiteSpace and normalizedString

From: Nikola <nikola.stojanovic@acm.org>
Date: Mon, 18 Oct 2004 13:21:59 -0400
Message-ID: <00e201c4b536$fa163f80$4502a8c0@kubura>
To: <xmlschema-dev@w3.org>
what is 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:22:05 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.