dracor-org/poldracor

Fix references in roles of castList

Opened this issue · 5 comments

cmil commented

The @xml:id attribute cannot be used to link roles in the castList to entries in the particDesc as attempted here:

<castList>
<head>OSOBY:</head>
<castItem>
<role xml:id="#ignacy">IGNACY,</role>
<roleDesc>właściciel wsi.</roleDesc>
</castItem>
<castItem>
<role xml:id="#heliodor">HELIODOR,</role>
<roleDesc>literat.</roleDesc>
</castItem>
<castItem>
<role xml:id="#eulalja">P. EULALJA,</role>
<roleDesc>guwernantka.</roleDesc>
</castItem>
<castItem>
<role xml:id="#grzempieleski">GRZEMPIELESKI,</role>
<roleDesc>ekonom Ignacego.</roleDesc>
</castItem>
<castItem>
<role xml:id="#pawlowa">PAWŁOWA,</role>
<roleDesc>gospodyni Ignacego.</roleDesc>
</castItem>
</castList>

We need to find another way to achieve this.

See https://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-role.html.

cmil commented

@ingoboerner would using @ana instead of @xml:id be an appropriate solution?

Hi! I can change it to @ana, not a problem, but maybe it's better to change it to:

<listPerson>
 <person xml:id="ignacy" sex="MALE">
  <persName>IGNACY</persName>
 </person>
...

Tomasz Bernaś from CLARIN-PL

cmil commented

@tombernas We already have the listPerson in the particDesc which is meant to provide the xml:id for each character or speaker in the given play:

<particDesc>
<listPerson>
<person xml:id="ignacy" sex="MALE">
<persName>Ignacy</persName>
</person>
<person xml:id="heliodor" sex="MALE">
<persName>Heliodor</persName>
</person>
<person xml:id="eulalja" sex="FEMALE">
<persName>P. Eulalja</persName>
</person>
<person xml:id="grzempieleski" sex="MALE">
<persName>Grzempieleski</persName>
</person>
<person xml:id="pawlowa" sex="FEMALE">
<persName>Pawłowa</persName>
</person>
</listPerson>
</particDesc>

I think the idea here was to link those two lists for which @ana may not be a perfect but good enough solution. Once we find a better one we could still easily change it.

And what do you think about @corresp?

cmil commented

And what do you think about @corresp?

Brilliant, this seems to be the perfect solution. I missed that.

https://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-att.global.linking.html#tei_att.corresp