[tei-council] Example of <app> with multiple <lem>s
James Cummings
James.Cummings at it.ox.ac.uk
Mon Jun 17 06:02:57 EDT 2013
Have we reached any conclusion on this?
I believe that I agree with Elena that you should only have one
<lem> as a direct child of <app> but that each <rdgGrp> may also
have one <lem> if required. I think the note at
http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-rdgGrp.html
is incorrect. I think the second example at:
http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-app.html
is perfectly fine.
I would change the content model of <rdgGrp> to only allow a
single <lem> if possible or test for that with schematron;
likewise I would make sure the content model of <app> only allows
a single <lem> which I think it already does? I think we should
change the note at
http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-rdgGrp.html
to say "Note that only one lem element may appear *as a direct
child of * a single apparatus entry but an additional lem element
may be found inside each rdgGrp." or something like that.
I believe this agrees with Lou's underlying point that <app> and
<rdgGrp> should mirror each other (<rdgGrp> conceptually being a
sort of nested <app> for grouping purposes).
-James
On 14/06/13 15:38, Sebastian Rahtz wrote:
>
> 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
>
--
Dr James Cummings, James.Cummings at it.ox.ac.uk
Academic IT Services, University of Oxford
More information about the tei-council
mailing list