Closed emylonas closed 4 years ago
@birkin masa0940c.xml has no transcription. It does have a diplomatic component.
<div type="edition" subtype="diplomatic" ana="b1">
<p>h<gap reason="lost" unit="character" extent="unknown"/></p>
</div>
<div type="edition" subtype="transcription" ana="b1">
<p> </p>
</div>
We shouldn't have any at that have no text at all.
For ex: in .https://dlibwwwcit.services.brown.edu/iip/viewinscr/masa0295/ The contents of the transcription are:
the display shows
[no transcription]
This is generated from one of the following files (found by grepping recursively for "no transcription"
Apparently the code is testing for a
<div>
element with no text() or spaces in it. However, the<g>
elements generate content - they are standing in for non-displayable elements. In other cases, where there is a non-space text node, the<g>
elements show up, because all content is pulled from the source file. See https://dlibwwwcit.services.brown.edu/iip/viewinscr/masa0301/ This is probably true for diplomatic divs as well.