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

Re: Nested Elements in Schema

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Thu, 18 Oct 2001 13:30:36 +0200
Message-ID: <3BCEBD5C.1030203@dyomedea.com>
To: xmlschema-dev@w3.org
Eddie Robertsson wrote:


> I could be wrong here but I think that the <xs:element ref="forwardcomment"> must
> be made optional otherwise we create an infinate loop. 


Sure! My snippet wasn't meant to be a complete schema but just a track 
to follow... However, it's a weak excuse and you are right, it's 
definitely much safer with minOccurs="0" !

Eric
-- 
Rendez-vous  Paris pour le Forum XML.
                    http://www.technoforum.fr/Pages/forumXML01/index.html
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------
Received on Thursday, 18 October 2001 07:30:15 GMT

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