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? 

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


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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:17 UTC