You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
': removing name tag as name ', normalize-space(.),
' contains no words for ', ancestor-or-self::tei:*[@xml:id][1]/@xml:id)"/>
<xsl:apply-templatesmode="comp"/>
</xsl:template>
should be:
<!-- Bug where a name contains no words, but only a transcriber comment: remove <name> tag -->
<xsl:templatemode="comp"match="tei:body//tei:name[not(.//tei:w)]">
<xsl:messageselect="concat('WARN ', /tei:TEI/@xml:id, ': removing name tag as name ', normalize-space(.), ' contains no words for ', ancestor-or-self::tei:*[@xml:id][1]/@xml:id)"/>
<xsl:apply-templatesmode="comp"/>
</xsl:template>
tei:w changed to .//tei:w (looking for all descendants)
The text was updated successfully, but these errors were encountered:
This tries to fix invalid named entities, but it breaks nested entities:
ParlaMint/Scripts/parlamint2release.xsl
Lines 433 to 439 in c68b7fe
should be:
tei:w
changed to.//tei:w
(looking for all descendants)The text was updated successfully, but these errors were encountered: