[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: Issue: shall we restrict subordinates of <oneOrMore>
I agree with this. ----- Original Message ----- From: "Kohsuke KAWAGUCHI" <kohsuke.kawaguchi@eng.sun.com> To: "TREX Discussion List" <trex@lists.oasis-open.org> Sent: Thursday, May 24, 2001 5:56 AM Subject: Re: Issue: shall we restrict subordinates of <oneOrMore> > > > If a <oneOrMore> element has an <attribute> descendant, it must not have a > > <group> or <interleave> descendant. > > This prohibits > > <zeroOrMore> > <choice> > <attribute><anyName/></attribute> > <group> > <element/><element/> > </group> > </choice> > </zeroOrMore> > > Which is somewhat artificial, but still harmless. So I would suggest > > If a <oneOrMore> element has an <attribute> descendant, there may not be > any <group> or <interleave> between <oneOrMore> and <attribute>. > > In other words, > > If <group> or <interleave> is used under <oneOrMore>, then it cannot > contain any <attribute>. > > > -- > Kohsuke KAWAGUCHI +1 650 786 0721 > Sun Microsystems kohsuke.kawaguchi@eng.sun.com > > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC