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

Re: XML Schema syntax for derivation by restriction

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 20 Mar 2001 12:02:56 +0000
To: Mike_Leditschke@nemmco.com.au
Cc: xmlschema-dev@w3.org
Message-ID: <f5bhf0ops0f.fsf@cogsci.ed.ac.uk>
Mike_Leditschke@nemmco.com.au writes:

> I don't understand why you say Zip isn't optional in the base type.
> Its defined in "Basic" with minOccurs="0"?

Just blind, that's all.  You're (both) right, I'm wrong.

> In the same context, would you mind elaborating a bit on
> your comments for test 3 and 4? I would have thought the
> reason 3 gets thrown out is because the element isn't included
> in the restricted type.

Yes, that is why, given my mistake above.

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 Tuesday, 20 March 2001 07:03:00 GMT

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