Skip to content

Content of tei:ab type="furtherReading" not properly separated in HTML output

Description

If tei:ab type="furtherReading" contains multiple tei:ref elements, then these are transformed into a single a class="further-reading-link" element, leading to a concatenation of link targets in the HTML view.

I expected the following to happen:

This snippet from the XSD

<tei:ab type="furtherReading">
   <tei:ref target="https://www.getty.edu/research/publications/electronic_publications/cdwa/11inscriptions.html">CDWA 8. Inscriptions/Marks
   </tei:ref> &gt; 
   <tei:ref target="https://www.getty.edu/research/publications/electronic_publications/cdwa/11inscriptions.html#transcription">8.1. Inscription Transcription or Description
   </tei:ref>
</tei:ab>

should be rendered in HTML as follows:

<a class="further-reading-link"
   href="https://www.getty.edu/research/publications/electronic_publications/cdwa/11inscriptions.html
   target="_blank">CDWA 8. Inscriptions/Marks 8.1</a> &gt;
<a class="further-reading-link"
   href="https://www.getty.edu/research/publications/electronic_publications/cdwa/11inscriptions.html#transcription"
   target="_blank">8.1. Inscription Transcription or Description</a>

On the contrary, I observed:

<a class="further-reading-link"
   href="https://www.getty.edu/research/publications/electronic_publications/cdwa/11inscriptions.html 
   https://www.getty.edu/research/publications/electronic_publications/cdwa/11inscriptions.html#transcription"
   target="_blank"> CDWA 8. Inscriptions/Marks 8.1. Inscription Transcription or Description</a>

How to reproduce the bug

Occurs in every run of the HTML transformation.

Severity

How much impact does this bug have on further development?

  • Minor
  • Major
  • Critical
  • Blocker

Related Tickets

Add related issues if applicable.

/cc @mgoebel, @hynek, @mrodzis

Edited by Detlev Balzer
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information