TEI4HTR/page2tei

Handling <textRegion> without nested <Coords>

HugoSchtr opened this issue · 1 comments

If no layout annotation exists, only one <textRegion> element is created by eScriptorium in the PAGE XML export, with an attribute `id="eSc_dummyblock_". Baselines are then nested into that element.

image

However, when this occurs, no <Coords> element is nested inside the <textRegion>. The current XSLT is fetching text regions coordinates values with said element, resulting with an invalid TEI file.

image

This exception must be handled in the XSLT.

XSLT modified on branch handling_no_coords.