Schematron rules for Nordic EPUB 2020-1

Rule Global description Detailed description
1 All headings in the book must be referenced from the navigation document [nordic_nav_references_1] All headings in the content documents must be referenced exactly once in the navigation document. In the content document "", the "" element is from the navigation document.
[nordic_nav_references_1] The text for the heading in the navigation document ("") should match the headline in the content document ("" at )
2 The toc must be in reading order and nested correctly [nordic_nav_references_2a] All references from the navigation document must reference a sectioning element in one of the content documents:
[nordic_nav_references_2a] All references from the navigation document must reference exactly one sectioning element in one of the content documents, there are multiple sections matching the href="" in ;
[nordic_nav_references_2b] The nesting of headlines in the content does not match the nesting of headlines in the navigation document. The toc item `` in the navigation document is not nested at the correct level. The referenced document () occurs in the navigation document at nesting depth (). The referenced headline () occurs in the navigation document at nesting depth (). The referenced headline (`<></>) occurs in the content document as a `` which implies that it should be referenced at nesting depth in the navigation document.
3 All pagebreaks in the book must be referenced from the navigation document [nordic_nav_references_3] All pagebreaks in the content documents must be referenced exactly once in the navigation document. In the content document "", the pagebreak "" is from the navigation document.
[nordic_nav_references_3] The page number for the pagebreak in the navigation document ("") should match the page number of the referenced pagebreak in the content document ("" at )
4 The page-list must be in reading order [nordic_nav_references_4] The page list in the navigation document must reference the pagebreaks in the correct order. The pagebreak with id="" in the document "" is referenced from the navigation document after the pagebreak with id="" in the document "", but in the content document it occurs before it.