Closed wlpotter closed 1 year ago
Cf. srophe/caesarea#381
The example of record 130 shows that at least a few records have a idno
elements in the edition or translation but these lack a text node.
For context, we had been using these as way to resolve URNs, while ref/@target
was used to resolve non-URN links. The XSLT currently picks up these idnos and concatenates the @xml:base
with the text node.
So any cases where we have an empty text node, even if we have an @xml:base
on an //ab[@type="edition" or @type="translation"]/idno
should be deleted.
Note: also check on the post-processor to ensure that works properly too
Here's the list of affected records:
https://caesarea-maritima.org/testimonia/131 https://caesarea-maritima.org/testimonia/214 https://caesarea-maritima.org/testimonia/43 https://caesarea-maritima.org/testimonia/130 https://caesarea-maritima.org/testimonia/163 https://caesarea-maritima.org/testimonia/46 https://caesarea-maritima.org/testimonia/150 https://caesarea-maritima.org/testimonia/91
Example: https://caesarea-maritima.org/testimonia/130.
We will likely want to add empty ref elements for data uniformity.