Next in thread →
Next in month →
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
Next in thread →
Next in month →