srophe / srophe-eXist-app

DEPRECATED eXist code for Syriaca.org: The Syriac Reference Portal
GNU General Public License v3.0
10 stars 12 forks source link

Names variants in SPEAR #1169

Closed dlschwartz closed 4 years ago

dlschwartz commented 4 years ago

@wsalesky it looks like the app assigns a name variant to a person provided that the person's URI appears anywhere inside //personGrp//persName or //person//persName. This means that the name variant "James, the brother of Jesus" would get assigned as a name variant both for James and for Jesus. Instead the app should only assign the name as a variant for the URI in the @ref attribute on the persName element that is the direct child of personGrp or person.

Here is an example of the problem: HTML: Abgar page; Nobles of Abgar page Link to the TEI. This name variant should only apply to person/2233 and not person/2201.

wsalesky commented 4 years ago

Fixed.