GVogeler / CEI2TEI

This repository documents the proposal to insert diplomatics concepts into the framework of the TEI-P5 (http://www.tei-c.org/Guidelines/P5/), based on the experiences of the Charters Encoding Initiative (http://www.cei.lmu.de)
6 stars 7 forks source link

Make legalActor personLike #60

Open AlinaOs opened 1 year ago

AlinaOs commented 1 year ago

Should the legalActor element belong to the class model.personLike, so that it can be used in elements where only personLike elements are allowed? This is, for example, the case in the element personList, used in the participant description to list persons occurring in the document and their relation to each other (see TEI guidelines). Currently, legalActor can only be used very unintuitively, leaving questions about where to put the corresp attribute:

<particDesc>
    <listPerson>
        <person corresp="#person1ID"> <!-- put @corresp here or... -->
            <legalActor type="issuer"/> <!-- here? -->
        </person>
        <person corresp="#person2ID">
            <legalActor type="recipient"/>
        </person>
         <listRelation>
             <relation type="personal" name="sibling" mutual="#person1ID #person2ID"/>
         </listRelation>
    </listPerson>
</particDesc>

If legalActor were personLike, it could be used easily and logically like this:

<particDesc>
    <listPerson>
        <legalActor type="issuer" corresp="#person1ID"/>
        <legalActor type="recipient" corresp="#person2ID"/>
         <listRelation>
             <relation type="personal" name="sibling" mutual="#person1ID #person2ID"/>
         </listRelation>
    </listPerson>
</particDesc>

The necessary change in the ODD would comprise only one line:

<elementSpec ident="legalActor" mode="add">
      <desc> Persons or organizations party to or otherwise mentioned in a an act or contract. </desc>
      <classes>
       <memberOf key="att.global"/>
       <memberOf key="att.typed"/>
       <memberOf key="model.inter"/>
       <memberOf key="model.pLike"/>
       <!-- change start -->
       <memberOf key="model.personLike"/>
       <!-- change end -->
      </classes>
       ...
</elementSpec>