W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2010

RE: Is this schema legal?

From: Michael Kay <mike@saxonica.com>
Date: Fri, 15 Jan 2010 23:56:07 -0000
To: "'Dave Kuhlman'" <dkuhlman@rexx.com>, <xmlschema-dev@w3.org>
Message-ID: <D3EE16140B564C5B832F219E01634CFF@Sealion>
> 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 GMT

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