Nordic EPUB3 and HTML5 rules
based on MTMs DTBook schematron rules, targeting nordic guidelines 2015-1

Rule ID Rule description
nordic07 Lists (...) are not allowed inside paragraphs.
nordic07 Definition lists (...) are not allowed inside paragraphs.
nordic08 <span epub:type="pagebreak" class="page-front"/> may only occur in frontmatter and cover. ...
nordic09 Element may not be empty: ...
nordic10 Meta dc:language must occur at least once in HTML head
nordic10 Meta dc:date=YYYY-MM-DD must occur exactly once in HTML head
nordic10 Meta dc:date ("...") must have format YYYY-MM-DD
nordic10 Meta dc:publisher must occur exactly once
nordic11 <html> element must have an xml:lang attribute
nordic12 Single-HTML document must begin with a fulltitle headline in its header element (xpath: /html/body/header/h1).
nordic13a A single-HTML document must have at least one frontmatter or cover section
nordic13a A single-HTML document must have at least one bodymatter section
nordic13a The single-HTML document must not have cover, frontmatter, bodymatter or backmatter as epub:type on its body element
nordic13b The single-HTML document must not have cover, frontmatter, bodymatter or backmatter on any of its sectioning elements other than the top-level elements that has body as its parent
nordic13c The document must have either cover, frontmatter, bodymatter or backmatter as epub:type on its body element.
nordic13d The document must not have cover, frontmatter, bodymatter or backmatter on any of its sectioning elements (they are only allowed on the body element).
nordic14 sectioning element with no headline (h1-h6) when sub-section is present (is only allowed for sectioning element with epub:type="cover" or when sub-section is a poem): ...
nordic15 Cover must not be preceded by any other top-level sections (...)
nordic15 Frontmatter must not be preceded by bodymatter or rearmatter (...)
nordic15 Bodymatter must not be preceded by backmatter (...)
nordic20 Image series are not allowed in inline context (...)
nordic21 Nested tables are not allowed (...)
nordic23 pagebreak values must increase for pagebreaks with class="page-normal" (see pagebreak with title="..." and compare with pagebreak with title="...")
nordic24 pagebreak values must be unique for pagebreaks with class="page-front" (see pagebreak with title="...")
nordic26a Each note must have at least one <a epub:type="noteref" ...> referencing it: ...
nordic26b The note reference with the href "..." attribute must resolve to a note, rearnote or footnote in the publication: ...
nordic27a Each annotation must have at least one <a epub:type="annoref" ...> referencing it: ...
nordic26b The annotation with the href "..." must resolve to a annotation in the publication: ...
nordic29 Block element ... used in inline context (inside the inline element ...)
nordic29 Block element ... as sibling to inline element ...
nordic29 Block element ... as sibling to text content (...)
nordic29 Prodnote in inline context used as block element: ...
nordic40a No gaps may occur in page numbering (see pagebreak with title="..." and compare with pagebreak with title="...")
nordic50a an image inside a figure with class='image' must have a non-empty alt attribute: ...
nordic52 Images must have the .jpg file extension: ...
nordic52 Images must have a base name, not just an extension: ...
nordic51 Images must be in the "images" folder (relative to the HTML file).
nordic52 Image file name contains an illegal character (must be -_a-zA-Z0-9): ...
nordic59 pagebreak in definition list must not occur as siblings to dd or dt: ...
nordic63 Only note references within the same publication are allowed: ...
nordic64 Only annotation references within the same publication are allowed
nordic93 element ... may not have leading whitespace
nordic93 element ... may not have trailing whitespace
nordic96a nested production notes are not allowed: ...
nordic96a production notes are not allowed inside figures in the cover ...: ...
nordic96b nested image series are not allowed (...). Remember that image figures use the class "image", while image series figures use the class "image-series". Maybe this inner figure should be using the "image" class?
nordic101 There must be at least one figure with class="image" in a image series figure: ...
nordic102 There must be an img element in every figure with class="image": ...
nordic102 Wrapping <figure class="image"> inside another <figure class="image"> is not allowed. Did you mean to use "image-series" as a class on the outer figure? ...
nordic104 Heading ... may not be empty
nordic105 Page breaks must have either a 'page-front', a 'page-normal' or a 'page-special' class: ...
nordic105 Pagebreaks must not contain anything...: ...
nordic110 pagebreak elements are not allowed in headings: ...
nordic116 Hindu-Arabic numbers when @class="page-front" are not allowed: ...
nordic120 Only pagebreaks are allowed before the heading ....
nordic121 Page numbers in tables must not be placed between table rows: ...
nordic123 Cover (Jacket copy) is a document partition and can not be part the other document partitions frontmatter, bodymatter and rearmatter: ...
nordic124 The publication must contain pagebreaks, and they must be referenced from a <nav epub:type="page-list"> in the navigation document. There is no such <nav> element in the navigation document.
nordic124 The publication must contain pagebreaks, and they must be referenced from the <nav epub:type="page-list"> in the navigation document. No pagebreaks are referenced from within this <nav> page list.
nordic125 Invalid image filename: ...
nordic125 Images must be in JPG (*.jpg) format: ...
nordic126 pagebreak must not occur directly after hx unless the hx is preceded by a pagebreak: ...
nordic127a The table of contents must contain a "ol" element as a direct child of the parent ... element.
nordic127b The table of contents must be in either frontmatter or backmatter; it is not allowed in bodymatter or cover.
nordic128a xmlns:nordic="http://www.mtm.se/epub/" must be defined on the root html element.
nordic128b nordic:guidelines metadata must occur once.
nordic128c nordic:guidelines metadata value must be 2015-1.
nordic128d nordic:supplier metadata must occur once.
nordic130 dc:language metadata must equal the root element xml:lang
nordic131 xml:lang must match '^[a-z]+(-[A-Z][A-Z]+)?$' (...)
nordic135 Every poem must contain a linegroup: ...
nordic135 Poem lines must be wrapped in a linegroup: ... contains; ...
nordic140 Only sections with one of the classes 'frontcover', 'rearcover', 'leftflap' or 'rightflap' is allowed in cover
nordic140 There must be at least one section with one of the classes 'frontcover', 'rearcover', 'leftflap' or 'rightflap' in cover.
nordic140 Too many sections with class="frontcover" in cover
nordic140 Too many sections with class="rearcover" in cover
nordic140 Too many sections with class="leftflap" in cover
nordic140 Too many sections with class="rightflap" in cover
nordic142 The class page-special must be used in section/@class='nonstandardpagination': ...
nordic143a pagebreak is not allowed as sibling to list items: ...
nordic143b pagebreak is not allowed at the beginning of the first list item; it should be placed before the list: ...
nordic200 The title element must not be empty.
nordic201 cover is not allowed in frontmatter, bodymatter or backmatter.
nordic202 '...' is not an allowed type in frontmatter. On elements with the epub:type "frontmatter", you can either leave the type blank..., or you can use one of the following types: ... or '...'.
nordic203a 'rearnote' must have a section... ancestor with 'rearnotes': ...
nordic203c ... with the epub:type 'rearnotes' must have descendants with 'rearnote'.
nordic204c ... with the epub:type 'rearnotes' must have <ol> descendant elements.
nordic203d 'rearnote' can only be applied to <li> elements: ...
nordic203d The 'notebody' class must be applied to all rearnotes: ...
nordic204a 'footnote' must have a section... ancestor with 'footnotes': ...
nordic204c ... with the epub:type 'footnotes' must have descendants with 'footnote'.
nordic204c ... with the epub:type 'footnotes' must have <ol> descendant elements.
nordic204d 'footnote' can only be applied to <li> elements: ...
nordic204d The 'notebody' class must be applied to all footnotes: ...
nordic208 '...' is not an allowed type in bodymatter. Elements with the type "bodymatter" must also have one of the types ... or '...'.
nordic211 '...' is not an allowed type in a part. Sections inside a part must also have one of the types ... or '...'.
nordic215 '...' is not an allowed type in backmatter. On elements with the epub:type "backmatter", you can either leave the type blank..., or you can use one of the following types: ... or '...'.
nordic224 linenums (span class="linenum") must be part of a line (p class="line"): ...
nordic225 The title attribute must be used to describe the page number: ...
nordic247 The first headline in the html:body/html:header element must have the 'fulltitle' epub:type.
nordic248 The only allowed element inside html/header besides "h1" is "p".
nordic251 The parent of a list item component (span class="lic") must be either a "li" or a "a" (where the "a" has "li" as parent): ...
nordic253a <figure> elements must either have an epub:type of "sidebar" or a class of "image" or "image-series": ...
nordic253a <figure> elements must either have an epub:type of "sidebar" or a class of "image" or "image-series": ...
nordic253a There cannot be more than one <figcaption> in a single figure element: ...
nordic253b Image figures must contain exactly one img: ...
nordic253b The img in image figures must be a direct child of the figure: ...
nordic253c Image series figures cannot contain img childen (the img elements must be contained in children figure elements): ...
nordic253c Image series must contain at least 2 image figures ("figure" elements with class "image"): ...
nordic254 <aside> elements must use one of the following epub:types: z3998:production, sidebar, note, annotation, epigraph (...)
nordic255 "abbr" elements must use one of the following epub:types: z3998:acronym (formed from the first part of a word: "Mr.", "approx.", "lbs.", "rec'd"), z3998:initialism (each letter pronounced separately: "XML", "US"), z3998:truncation (pronounced as a word: "NATO"): ...
nordic256 In bodymatter, "..." elements must contain more than just a headline and pagebreaks (except when epub:type="part"): ...
nordic257 The `xml:lang` and the `lang` attributes must have the same value: ...
nordic258 Only one pagebreak is allowed before any content in each content file: ...
nordic259 Pagebreaks can not occur within table headers (thead): ...
nordic259 Pagebreaks can not occur within table footers (tfoot): ...
nordic260a The first element in a figure with class="image" must be a "img" element: ...
nordic260b Content not allowed between or after image figure elements: ...
nordic261 Text can't be placed directly inside div elements. Try wrapping it in a p element: ...
nordic263 the titlepage must have a headline (and the headline must have epub:type="fulltitle" and class="title")
nordic264 the headline on the titlepage must have a epub:type with the value "fulltitle": ...
nordic264 the headline on the titlepage must have a class with the value "title": ...
nordic265 linegroups with headlines must be section elements: ...
nordic265 linegroups without headlines must be div elements: ...
nordic266a Footnotes must be wrapped in a "ol" element, but is currently wrapped in a ...: ...
nordic266b List items inside a footnotes list must use epub:type="footnote": ...
nordic267a Rearnotes must be wrapped in a "ol" element, but is currently wrapped in a ...: ...
nordic267b List items inside a rearnotes list must use epub:type="rearnote": ...
nordic268 The subsections of ... (which contains the headline ......</...>) must only use <h...> for headlines. It contains the element ... which contains the headline ...
nordic269 The type used in the filename (...) must be present on the body element: ...
nordic270 Bridgehead is only allowed as a child of ...section, article and div: ...
nordic272a Note reference href attribute does not contain a fragment identifier: ...
nordic272b Annotation reference href attribute does not resolve to a note, rearnote or footnote in the publication: ...
nordic273 Internal link ("...") does not resolve: ...
nordic274 Not all the tokens in the headers attribute match the id attributes of 'th' elements in this or a parent table: ...
nordic275 The URL in the img longdesc attribute does not reference any element in the publication: ...
nordic276 The accesskey attribute value is not 1 character long: ...
nordic276 The tabindex attribute value is not expressed in numbers: ...
nordic277 The image width is not expressed in pixels or percentage: ...
nordic277 The image height is not expressed in pixels or percentage: ...
nordic278 Table width is not expressed in pixels or percentage: ...
nordic278 Table cellspacing is not expressed in pixels or percentage: ...
nordic278 Table cellpadding is not expressed in pixels or percentage: ...
nordic279a The start attribute occurs in a non-numbered list: ...
nordic279b The start attribute is not a non negative number: ...
nordic280 Unrecognized Dublin Core metadata name: ...
nordic280 Unrecognized Dublin Core metadata prefix: ...
nordic281 span attribute is not a positive integer: ...
nordic282 The rowspan attribute value is not a positive integer: ...
nordic282 The colspan attribute value is not a positive integer: ...
nordic282 The rowspan attribute value is larger than the number of rows left in the table: ...
nordic283 alttext attribute must be present: ...
nordic283 alttext attribute must be non-empty: ...
nordic283 altimg attribute must be present: ...
nordic283 altimg attribute must be non-empty: ...