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

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

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 07 Oct 2002 18:12:11 +0100
To: Mark Feblowitz <mfeblowitz@frictionless.com>
Cc: Ted Toth <ted.toth@vincera.com>, xmlschema-dev@w3.org
Message-ID: <f5bhefyqil0.fsf@erasmus.inf.ed.ac.uk>

Mark Feblowitz <mfeblowitz@frictionless.com> writes:

> If that's the case, then the XML Spy folks need to be contacted, too. While
> 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 - simpleContent
> can not have a base that is a complexType with complexContent.

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

ht
-- 
  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 spam]
Received on Monday, 7 October 2002 13:12:13 GMT

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