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

Re: Recursive element definition

From: Jeff Rafter <jeffrafter@definedweb.com>
Date: Wed, 13 Jun 2001 13:42:32 -0700
Message-ID: <012401c0f449$5f7f6bb0$f181fea9@lazarus>
To: <Mike_Leditschke@nemmco.com.au>
Cc: <xmlschema-dev@w3.org>
> Jeff, given that the schema shown does not provide minOccurs/maxOccurs
> attributes, the defaults
> for theses are 1 and 1. So because of the defaults, the minOccurs for
> CATEGORY is 1. Hence,
> by your logic, isn't the schema infinitely recursive?
> 
> I think the element referring to CATEGORY needs a minOccurs attribute?


Absolutely-- great catch...

Thanks,
Jeff Rafter
Defined Systems
http://www.defined.net
XML Development and Developer Web Hosting
Received on Wednesday, 13 June 2001 16:42:55 GMT

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