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

Re: Confirmation welcome: whiteSpace facet to derive simplec ontents

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 12 Nov 2001 15:44:09 +0000
To: Eric van der Vlist <vdv@dyomedea.com>
Cc: xmlschema-dev@w3.org
Message-ID: <f5bu1w0c7ue.fsf@cogsci.ed.ac.uk>
Eric van der Vlist <vdv@dyomedea.com> writes:

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

Looks OK to me.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Monday, 12 November 2001 10:43:13 GMT

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