@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 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.