[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: Prohibiting duplicate attributes.
James Clark wrote:
> I don't think so, because the restriction applies to the normalized form,
> and in the normalized form, a <group> with a single child would disappear.
Sorry. Let me try again.
<oneOrMore>
<group>
<attribute><anyName/></attribute>
<optional><attribute><anyName/></attribute></optional>
</group>
</oneOrMore>
is prohibited but its equivalent pattern
<oneOrMore>
<attribute><anyName/></attribute>
</oneOrMore>
is not.
Anyway, "why bother?" is not my favorite. I very much prefere <multipleAttributes...>.
Cheers,
Makoto
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC