srophe / caesarea-data

Data repository for Caesarea-Maritima.org
0 stars 2 forks source link

Find all records with idnos that have an `@xml:base` attribute but no text node #164

Closed wlpotter closed 1 year ago

wlpotter commented 1 year ago

Example: https://caesarea-maritima.org/testimonia/130.

We will likely want to add empty ref elements for data uniformity.

wlpotter commented 1 year ago

Cf. srophe/caesarea#381

wlpotter commented 1 year ago

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

wlpotter commented 1 year ago

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