RE: Is this schema legal?

> The schema below has two definitions for the tag "spice", one 
> nested inside the other.  Is that allowed? 

Yes.
> 
> And, could someone point me at something that answers this 
> question.  I tried searching the XML Schema specs at w3.org, 
> but could not find anything definite. 

You won't find rules in the spec that say something is allowed. You'll only
find rules saying what isn't allowed. If there's no rule prohibiting it,
then it's allowed.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

Received on Friday, 15 January 2010 23:56:36 UTC