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

RE: A complex type cannot be a restriction of a simpleType ??

From: Mark Feblowitz <mfeblowitz@frictionless.com>
Date: Mon, 7 Oct 2002 13:21:53 -0400
Message-ID: <4DBDB4044ABED31183C000508BA0E97F040AC06E@fcpostal.frictionless.com>
To: "'ht@cogsci.ed.ac.uk'" <ht@cogsci.ed.ac.uk>
Cc: Ted Toth <ted.toth@vincera.com>, xmlschema-dev@w3.org

It certainly looks that way. I wonder why there's confusion.

 -----Original Message-----
From: 	ht@cogsci.ed.ac.uk [mailto:ht@cogsci.ed.ac.uk] 
Sent:	Monday, October 07, 2002 1:12 PM
To:	Mark Feblowitz
Cc:	Ted Toth; xmlschema-dev@w3.org
Subject:	Re: A complex type cannot be a restriction of a simpleType

Mark Feblowitz <mfeblowitz@frictionless.com> writes:

> If that's the case, then the XML Spy folks need to be contacted, too.
> Spy does validate the schema in "Schema View" mode, in text view mode it
> gives the following error:
> Schema error - undefined schema component "base" encountered -
> can not have a base that is a complexType with complexContent.

But this is wrong -- element is a complexType with _simple_ content,

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, 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/
 [mail really from me _always_ has this .sig -- mail without it is forged
Confidentiality Notice: This message, including any attachments, is intended
solely for the use of the individual to whom it is addressed and may contain
information that is privileged and confidential.  If you have received this
email in error, please delete it.  Any disclosure, copying or distribution
of this message is strictly prohibited.  Thank you.
Received on Monday, 7 October 2002 13:22:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:58 UTC