calzada / PARLAMINT-ES-MC

2 stars 4 forks source link

some government members are duplicated #45

Closed matyaskopp closed 1 year ago

matyaskopp commented 1 year ago

After implementing 08fee55, government members (without full names) are split. This should be one person with the id MarianoRajoyBrey

   <person xml:id="MarianoRajoy">
      <persName>
         <forename>Mariano</forename>
         <surname>Rajoy</surname>
      </persName>
      <affiliation ref="#GOV" role="head" from="2011-12-21" to="2018-06-01">
         <roleName xml:lang="en">Prime Minister</roleName>
      </affiliation>
      <affiliation ref="#GOV" role="member" from="2011-12-21" to="2018-06-01"/>
   </person>
   <person xml:id="MarianoRajoyBrey">
      <persName>
         <forename>Mariano</forename>
         <surname>Rajoy</surname>
         <surname>Brey</surname>
      </persName>
      <sex value="M"/>
      <birth when="1955-03-27"/>
      <affiliation ref="#CD" role="member" from="2015-01-21" to="2018-06-01"/>
      <affiliation role="member" ref="#party.PP"/>
   </person>

Only listPerson needs to be redone - I think that short id persons do not have references in TEI files.

matyaskopp commented 1 year ago

@TomazErjavec I have fixed the wrong merging of persons with 08fee55, but it also caused that government members were not merged with members of parliament. This needs to be fixed, but I genuinely believe that it will not affect component files. So they can be processed and validated.