Next in thread →
Next in month →
Re: Issue: shall we restrict subordinates of <oneOrMore>
I agree with this. ----- Original Message ----- From: "Kohsuke KAWAGUCHI" <> To: "TREX Discussion List" <> 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 > > > >
Next in thread →
Next in month →