W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2001

Confirmation welcome: whiteSpace facet to derive simplec ontents

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Mon, 12 Nov 2001 15:51:55 +0100
Message-ID: <3BEFE20B.9040405@dyomedea.com>
To: xmlschema-dev@w3.org
Hi,

Just wondering... is there any reason why this should be forbiden (as 
Xerces-J tells me)?

<xs:complexType name="token">
  <xs:simpleContent>
   <xs:restriction base="string">
    <xs:whiteSpace value="collapse"/>
   </xs:restriction>
  </xs:simpleContent>
</xs:complexType>

("string" is a simple content complex type derived by extension of 
xs:string).

Thanks

Eric
-- 
Rendez-vous à Paris pour le Forum XML.
                    http://www.technoforum.fr/Pages/forumXML01/index.html
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------
Received on Monday, 12 November 2001 09:52:04 GMT

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