Skip to content

Comments

Fix incomplete speeches#72

Merged
cmil merged 2 commits intomainfrom
fix-incomplete-speeches
Oct 18, 2025
Merged

Fix incomplete speeches#72
cmil merged 2 commits intomainfrom
fix-incomplete-speeches

Conversation

@cmil
Copy link
Member

@cmil cmil commented Oct 9, 2025

Some source documents occasionally wrap <stage> elements into a separate <sp> element without any actual lines of speech, which is invalid in current TEI. This PR modifies the XSLT to strip those wrapper <sp> elements leaving only the stage directions.

cmil added 2 commits October 9, 2025 09:31
To fix validation we stript tei:sp elements that wrap only tei:stage
(and tei:pb)  elements while still including the children.
@cmil cmil merged commit 0db47b7 into main Oct 18, 2025
1 check passed
@cmil cmil deleted the fix-incomplete-speeches branch October 18, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant