Re: Recursive element definition

> 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...

Jeff Rafter
Defined Systems
XML Development and Developer Web Hosting

Received on Wednesday, 13 June 2001 16:42:55 UTC