Re: XML Schema syntax for derivation by restriction

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 UTC