W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

Re: Deriving a simpleContent element from an anyType or anySimple Type

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 11 Jan 2002 14:05:04 +0000
To: Simon.Cox@csiro.au
Cc: xmlschema-dev@w3.org
Message-ID: <f5b3d1dugof.fsf@cogsci.ed.ac.uk>
Simon.Cox@csiro.au writes:

> XSV says OK to this pattern.  
> 
> But Xerces (via SQC) complains that xs:string is not a valid restriction of
> xs:anySimpleType.  
> Is this true?

It is.  It says so at [1] in the REC.

> The datatypes rec implies that anySimpleType is actually a
> union of the simple types, rather than an ur-type.  Does this make any
> difference?  

No.

ht

[1] http://www.w3.org/TR/xmlschema-1/#section-Built-in-Simple-Type-Definition
-- 
  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 Friday, 11 January 2002 09:05:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:26 GMT