W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2003

Re: Successive restriction of enumerated content in complex types

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 26 Mar 2003 09:48:44 +0000
To: "Hugh Wallis" <hugh_wallis@hyperion.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <f5bd6ke791f.fsf@erasmus.inf.ed.ac.uk>

"Hugh Wallis" <hugh_wallis@hyperion.com> writes:

> XML-Spy chokes on this by highlighting
> 
> base="dt:accountTypeItemType"
> 
> and giving the error message "simpleContent cannot have a base that is a
> complexType with complexContent" which makes no sense to me because
> accountTypeItemType does not have complexContent.
> 
> A JAXP 1.2/Xerces 2 validator says this is valid XML Schema
> 
> Is it?

Looks OK to me.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-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 Wednesday, 26 March 2003 04:48:46 GMT

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