[tei-council] Example of <app> with multiple <lem>s
Sebastian Rahtz
sebastian.rahtz at it.ox.ac.uk
Fri Jun 14 10:38:26 EDT 2013
On 14 Jun 2013, at 12:44, Lou Burnard <lou.burnard at retired.ox.ac.uk> wrote:
>
> I don't think <rdgGrp> should be permitted to have multiple <lem> (direct) children, both because it makes no sense and because it would then be different from <app>, for which (in the passage I quoted in my previous mail on this topic) it occasionally substitutes.
>
> So I would vote for removing the constraint, and possibly tweaking the content model of <rdgGroup>
can you suggest changes to the model, then? why is the second part of it zeroOrMore?
<group xmlns="http://relaxng.org/ns/structure/1.0">
<oneOrMore>
<choice>
<group>
<ref name="rdgGrp"/>
<optional>
<ref name="wit"/>
</optional>
</group>
<zeroOrMore>
<group>
<optional>
<group>
<ref name="lem"/>
<optional>
<ref name="wit"/>
</optional>
</group>
</optional>
<group>
<ref name="model.rdgLike"/>
<optional>
<ref name="wit"/>
</optional>
</group>
</group>
</zeroOrMore>
</choice>
</oneOrMore>
</group>
--
Sebastian Rahtz
Director (Research) of Academic IT
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
More information about the tei-council
mailing list