Re: Confirmation welcome: whiteSpace facet to derive simplec ontents

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 UTC