Beyond actual (syntactic) schema violations ("validity") and conventional (semantic) problems ("inconsistency"), we might want to check for and repair additional issues:
if any /PcGts/Page/ReadingOrder//@regionRef does not point to an existing segment identifier (in which case PageViewer fails to load) – as repaired by https://github.com/bertsky/workflow-configuration
Beyond actual (syntactic) schema violations ("validity") and conventional (semantic) problems ("inconsistency"), we might want to check for and repair additional issues:
/PcGts/Page/ReadingOrder
or any of its children is empty (in which case PageViewer fails to load) – as repaired by https://github.com/bertsky/workflow-configuration/PcGts/Page/ReadingOrder//@regionRef
does not point to an existing segment identifier (in which case PageViewer fails to load) – as repaired by https://github.com/bertsky/workflow-configuration//TextEquiv
contains neitherPlainText
norUnicode
(in which case PageViewer fails to load) – as repaired by https://github.com/bertsky/workflow-configuration