W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2004

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>

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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:11 UTC