diff --git a/.editorconfig b/.editorconfig
index 4c17a8eb..69abfe02 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -17,5 +17,6 @@ charset = utf-8
indent_style = space
indent_size = 4
-
-
+# Don't insert newlines in `mimetype` files
+[mimetype]
+insert_final_newline = false
diff --git a/.gitattributes b/.gitattributes
index 13d1b96b..4da6fab1 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -27,4 +27,4 @@
*.odp diff=zip
*.otp diff=zip
*.odf diff=zip
-*.odb diff=zip
\ No newline at end of file
+*.odb diff=zip
diff --git a/documentation/nordic2020-schematron-to-html.xsl b/documentation/nordic2020-schematron-to-html.xsl
index e2d18271..2a87e12b 100644
--- a/documentation/nordic2020-schematron-to-html.xsl
+++ b/documentation/nordic2020-schematron-to-html.xsl
@@ -1,90 +1,90 @@
-
-
-
-
-
- Schematron rules for Nordic EPUB 2020-1
-
-
-
- Schematron rules for Nordic EPUB 2020-1
-
-
-
- Rule |
- Global description |
- Detailed description |
-
-
-
-
-
-
-
- |
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
+
+
+
+
+
+ Schematron rules for Nordic EPUB 2020-1
+
+
+
+ Schematron rules for Nordic EPUB 2020-1
+
+
+
+ Rule |
+ Global description |
+ Detailed description |
+
+
+
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index 59532dfc..aa51f5eb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -188,9 +188,9 @@
- src/test/**/*.epub
- **/*.otf
- documentation/*.odg
+ src/test/**/*.epub
+ **/*.otf
+ documentation/*.odg
diff --git a/src/main/resources/css/dtbook.2005.basic.css b/src/main/resources/css/dtbook.2005.basic.css
index 19e3fb95..3bf9b15d 100644
--- a/src/main/resources/css/dtbook.2005.basic.css
+++ b/src/main/resources/css/dtbook.2005.basic.css
@@ -1,611 +1,611 @@
-/* ------------------------------------------------------------ */
-/* dtbook.2005.basic.css
-
- Created 10-13-1999 by M. Moodie from M. Hakkinen's template
- Modified 03-16-2000 and 09/06-2000 by M. Brown
- Modified 12-12-2002 by Guillaume du Bourguet (BrailleNet)
- M Gylling 2003-11-04: additions, merging and fixing of
- Dtbvisv3.css,
- dtbook-std.css,
- dtbbase.css, into
- dtbook.basic.css
- version (2004-08-28, m gylling):
- --> dtbook.2004.basic.css <--
- Changelist:
- Added support for: bridgehead
- hd
- poem
- linegroup
- dateline
- byline
- epigraph
- covertitle
-
- version (2005-01-18, m gylling and brandon nelson)
- --> dtbook.2005.basic.css <--
- Changelist latest version:
- Misc updates for Z39.86.2005 version of dtbook
-
- version (2006-08-18, b nelson)
- Changelist:
- Fixed inline pagenums
-
- version (2006-09-28, m gylling)
- Changelist:
- Fixed new http reference in this comment
-
- This CSS is supported and maintained by the Z39.86 committee.
- You may modify and redistribute it, but please consider
- donating enhancements back to the source.
-
- Contact:
- markus.gylling@tpb.se
- z3986@mail.daisy.org
- WWW: http://www.daisy.org/z3986/2005/
-
- Note: if you want to apply local/specific rules,
- the best way to do that is to associate another
- stylesheet with the dtbook document via an
- additional xml-stylesheet link.
-
- In that additional stylesheet you can override
- rules in or add rules to this stylesheet.
-
- If the proximity rule works to your disadvantage,
- use the !important syntax to force things to order. */
-/* ------------------------------------------------------------ */
-
-/* The following strings are searchable
- to go directly to subsection:
-
- elements without display properties
- base properties of whole doc
- frontmatter
- bodymatter
- rearmatter
- headings
- pagenum, linenum
- general block
- general inlines
- list.ul,list.ol
- tables
- images
-
-*/
-
-
-/* ------------------------------------------------------------- */
-/* elements without display properties */
-/* ------------------------------------------------------------- */
-
-dtbook {
- display:block;
- width: 100%;
-}
-
-head, head * {
- display: none
-}
-
-
-
-/* ------------------------------------------------------------- */
-/* base properties of whole doc */
-/* ------------------------------------------------------------- */
-
-book {
- display: block;
- background-color: rgb(255,255,255);
- color: rgb(0,0,0);
- font-family: arial, verdana, sans-serif;
- line-height: 1.5em;
- margin-top: 4em;
- margin-bottom: 2em;
- margin-left: 6em;
- margin-right: 6em;
-}
-
-/* ------------------------------------------------------------- */
-/* frontmatter */
-/* ------------------------------------------------------------- */
-
-frontmatter {
- display: block;
- margin-top: 1em;
- margin-bottom: 1em;
-}
-
-doctitle, docauthor, covertitle {
- display: block;
- font-weight: bold;
- text-align: center;
-}
-
-doctitle {
- font-size: 2.0em;
-}
-
-covertitle {
- font-size: 1.5em;
-}
-docauthor {
- font-style: italic;
- font-size: 1.5em;
-}
-
-
-
-/* ------------------------------------------------------------- */
-/* bodymatter */
-/* ------------------------------------------------------------- */
-
-bodymatter {
- display: block;
- margin-top: 1em;
- margin-bottom: 1em;
-}
-
-
-/* ------------------------------------------------------------- */
-/* rearmatter */
-/* ------------------------------------------------------------- */
-
-rearmatter {
- display: block;
- margin-top: 1em;
- margin-bottom: 1em;
-}
-
-/* ------------------------------------------------------------- */
-/* headings */
-/* ------------------------------------------------------------- */
-
-h1, h2, h3, h4, h5, h6, levelhd, bridgehead, hd {
- display: block;
- font-weight: bold;
- margin-bottom: 0.5em;
-}
-
-h1, level levelhd {
- font-size: 1.7em;
- margin-top: 1.5em
-}
-h2, level level levelhd {
- font-size: 1.5em;
- margin-top: 1.2em
-}
-h3, level level level levelhd {
- font-size: 1.4em;
- margin-top: 1.0em
-}
-h4, level level level level levelhd {
- font-size: 1.3em;
- margin-top: 1.0em
-}
-h5, level level level level level levelhd {
- font-size: 1.2em;
- margin-top: 1.0em
-}
-h6, level level level level level level levelhd {
- font-size: 1.0em;
- margin-top: 1.0em
-}
-bridgehead, hd {
- font-size: 1.0em;
- margin-top: 0.8em
-}
-
-/* ------------------------------------------------------------- */
-/* pagenum, linenum */
-/* ------------------------------------------------------------- */
-
-pagenum {
- display: inline;
- color: rgb(30,30,30);
- padding: 0.2em 0.2em 0.2em 1em;
- border: 1px solid rgb(200,200,250);
- margin-top: 0.8em;
- margin-bottom: 0.8em;
-}
-
-level > pagenum, level1 > pagenum, level2 > pagenum, level3 > pagenum, level4 > pagenum, level5 > pagenum, level6 > pagenum {
- display: block;
-}
-
-linenum {
- display: inline;
-}
-
-linenum:after {
- content: " "
-}
-
-/* ------------------------------------------------------------- */
-/* general block */
-/* ------------------------------------------------------------- */
-
-div {
- display: block;
-}
-
-p {
- display: block;
- margin-top: 0.7em;
-}
-
-prodnote, notice {
- display: block;
- padding: 0.2em;
- margin: 0.3em;
- border: 1px solid black;
-}
-
-/* sidebar content model block:
-frontmatter bodymatter rearmatter level level1 level2 level3 level4 level5 level6
- sidebar content model inline:
-div prodnote sidebar note annotation blockquote dd li th td
-*/
-
-sidebar {
- display: block;
- padding: 0.5em;
- margin-top: 1.5em;
- margin-bottom: 1.5em;
- border: 1px solid rgb(0,0,0);
- background-color: rgb(250,250,250);
-}
-
-div sidebar, prodnote sidebar, sidebar sidebar, note sidebar, annotation sidebar, blockquote sidebar, dd sidebar, li sidebar, th sidebar, td sidebar {
- float: right;
- width: inherit;
- clear: both;
- margin-left: 1em;
- margin-right: 1em;
-}
-
-frontmatter sidebar, bodymatter sidebar, rearmatter sidebar, level sidebar, level1 sidebar, level2 sidebar, level3 sidebar, level4 sidebar, level5 sidebar, level6 sidebar {
- /*inline formatting, all inherited from generic sidebar selector*/
-}
-
-
-address {
- display: block;
- margin-top:1em;
- margin-bottom:1em;
-}
-
-note {
- display:block;
- margin: 1.2em 1em 1.2em 1em;
- padding: 0.5em 1em 0.5em 1em;
- border-top: 1px solid black;
- border-bottom: 1px solid black;
-}
-
-blockquote {
- display: block;
- margin-left: 2em;
- margin-top: 0.6em;
- margin-bottom: 0.6em;
-}
-
-line {
- display: block;
- margin: 0em;
-}
-
-poem {
- display: block;
- margin-left: 3em;
- margin-top: 1em;
- margin-bottom: 1em;
-}
-
-linegroup {
- display: block;
- margin-top: 0.6em;
-}
-
-dateline, byline {
- display: block;
-}
-
-epigraph {
- display: block;
- margin-top: 2em;
- margin-bottom: 2em;
- margin-left: 3em;
- font-style: italic;
-}
-
-/* ------------------------------------------------------------- */
-/* general inlines */
-/* ------------------------------------------------------------- */
-
-
-a {
- display: inline;
- text-decoration: underline;
- color: rgb(0,0,255);
-}
-
-bdo {
- display: inline;
-}
-
-em {
- display: inline;
- font-style: italic;
-}
-
-strong {
- display: inline;
- font-weight: bold;
-}
-
-kbd {
- display: inline;
- font-variant: small-caps;
- font-size: 90%;
- background: rgb(0,0,0);
- color: rgb(255,255,255);
- padding: 0.2em;
-}
-
-span {
- display: inline;
-}
-
-sub {
- display: inline;
- vertical-align : sub;
- font-size : 90%;
- padding-left: 0.3em;
- padding-right: 0.3em;
-}
-
-sup {
- display: inline;
- vertical-align : super;
- font-size : 90%;
- padding-left: 0.3em;
- padding-right: 0.3em;
-}
-
-abbr, acronym {
- display: inline;
- border-bottom: 1px dotted gray;
-}
-
-dfn {
- display: inline;
- border-bottom: 1px dashed black;
-}
-
-code {
- display: inline;
- font-family: courier, verdana, arial, sans-serif;
-}
-
-samp {
- display: inline;
-}
-
-cite {
- display: inline;
-}
-
-cite title {
- display: inline;
- border-bottom: 1px solid grey
-}
-
-cite author {
- display: inline;
-}
-
-br {
- display:block;
-}
-
-q {
- display: inline;
- font-style: italic;
-}
-
-noteref, annoref {
- display: inline;
- font-size: 0.7em;
- vertical-align: super;
- padding-left: 0.3em;
- padding-right: 0.3em;
- border: 1px solid rgb(210,210,210);
-}
-
-sent {
- display:inline;
- margin:0em;
-}
-
-w {
- display:inline;
- margin:0em;
-}
-
-
-/* ------------------------------------------------------------- */
-/* list.ul,list.ol */
-/* */
-/* li > list[type=ul] {
- list-style-type: circle;
-}
-
-list > li > list > li > list[type=ul] {
- list-style-type: square;
-}
-
-list > li > list, list li list {
- margin-top: 0em;
- margin-bottom: 0em;
-}
-
-/* ------------------------------------------------------------- */
-/* definition list */
-/* ------------------------------------------------------------- */
-
-dl, dt, dd {
- display: block;
-}
-
-dt {
- font-weight: bold;
- margin-top: 0.4em;
-}
-
-dd {
- margin-left: 2em;
-}
-
-
-/* ------------------------------------------------------------- */
-/* tables */
-/* ------------------------------------------------------------- */
-
-
-table {
- display: table;
- border-spacing: 0px;
- border-collapse: collapse;
- margin-top: 0;
- margin-bottom: 0;
- /* -moz-box-sizing: border-box; */
- text-indent: 0;
- empty-cells: show;
-}
-
-table > caption {
- display: table-caption;
- text-align: center;
- /* -moz-box-sizing: border-box; */
-}
-
-tr {
- display: table-row;
- vertical-align: inherit;
-}
-
-col {
- display: table-column;
-}
-
-colgroup {
- display: table-column-group;
-}
-
-tbody {
- display: table-row-group;
- vertical-align: middle;
-}
-
-thead {
- display: table-header-group;
- vertical-align: middle;
-}
-
-tfoot {
- display: table-footer-group;
- vertical-align: middle;
-}
-
-td {
- display: table-cell;
- border: 1px solid gray;
- vertical-align: inherit;
- text-align: inherit;
- padding: 0.5em;
-}
-
-th {
- display: table-cell;
- /*border: 1px solid gray;*/
- vertical-align: inherit;
- font-weight: bold;
- padding: 2px;
-}
-
-
-/* ------------------------------------------------------------- */
-/* images */
-/* ------------------------------------------------------------- */
-
-imggroup {
- display: inline;
-}
-
-/*
-img:before {
- content: url(attr(src));
-}
-*/
-
-imggroup > caption {
- font-size: 80%;
-}
-
-
\ No newline at end of file
+/* ------------------------------------------------------------ */
+/* dtbook.2005.basic.css
+
+ Created 10-13-1999 by M. Moodie from M. Hakkinen's template
+ Modified 03-16-2000 and 09/06-2000 by M. Brown
+ Modified 12-12-2002 by Guillaume du Bourguet (BrailleNet)
+ M Gylling 2003-11-04: additions, merging and fixing of
+ Dtbvisv3.css,
+ dtbook-std.css,
+ dtbbase.css, into
+ dtbook.basic.css
+ version (2004-08-28, m gylling):
+ --> dtbook.2004.basic.css <--
+ Changelist:
+ Added support for: bridgehead
+ hd
+ poem
+ linegroup
+ dateline
+ byline
+ epigraph
+ covertitle
+
+ version (2005-01-18, m gylling and brandon nelson)
+ --> dtbook.2005.basic.css <--
+ Changelist latest version:
+ Misc updates for Z39.86.2005 version of dtbook
+
+ version (2006-08-18, b nelson)
+ Changelist:
+ Fixed inline pagenums
+
+ version (2006-09-28, m gylling)
+ Changelist:
+ Fixed new http reference in this comment
+
+ This CSS is supported and maintained by the Z39.86 committee.
+ You may modify and redistribute it, but please consider
+ donating enhancements back to the source.
+
+ Contact:
+ markus.gylling@tpb.se
+ z3986@mail.daisy.org
+ WWW: http://www.daisy.org/z3986/2005/
+
+ Note: if you want to apply local/specific rules,
+ the best way to do that is to associate another
+ stylesheet with the dtbook document via an
+ additional xml-stylesheet link.
+
+ In that additional stylesheet you can override
+ rules in or add rules to this stylesheet.
+
+ If the proximity rule works to your disadvantage,
+ use the !important syntax to force things to order. */
+/* ------------------------------------------------------------ */
+
+/* The following strings are searchable
+ to go directly to subsection:
+
+ elements without display properties
+ base properties of whole doc
+ frontmatter
+ bodymatter
+ rearmatter
+ headings
+ pagenum, linenum
+ general block
+ general inlines
+ list.ul,list.ol
+ tables
+ images
+
+*/
+
+
+/* ------------------------------------------------------------- */
+/* elements without display properties */
+/* ------------------------------------------------------------- */
+
+dtbook {
+ display:block;
+ width: 100%;
+}
+
+head, head * {
+ display: none
+}
+
+
+
+/* ------------------------------------------------------------- */
+/* base properties of whole doc */
+/* ------------------------------------------------------------- */
+
+book {
+ display: block;
+ background-color: rgb(255,255,255);
+ color: rgb(0,0,0);
+ font-family: arial, verdana, sans-serif;
+ line-height: 1.5em;
+ margin-top: 4em;
+ margin-bottom: 2em;
+ margin-left: 6em;
+ margin-right: 6em;
+}
+
+/* ------------------------------------------------------------- */
+/* frontmatter */
+/* ------------------------------------------------------------- */
+
+frontmatter {
+ display: block;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+doctitle, docauthor, covertitle {
+ display: block;
+ font-weight: bold;
+ text-align: center;
+}
+
+doctitle {
+ font-size: 2.0em;
+}
+
+covertitle {
+ font-size: 1.5em;
+}
+docauthor {
+ font-style: italic;
+ font-size: 1.5em;
+}
+
+
+
+/* ------------------------------------------------------------- */
+/* bodymatter */
+/* ------------------------------------------------------------- */
+
+bodymatter {
+ display: block;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+
+/* ------------------------------------------------------------- */
+/* rearmatter */
+/* ------------------------------------------------------------- */
+
+rearmatter {
+ display: block;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+/* ------------------------------------------------------------- */
+/* headings */
+/* ------------------------------------------------------------- */
+
+h1, h2, h3, h4, h5, h6, levelhd, bridgehead, hd {
+ display: block;
+ font-weight: bold;
+ margin-bottom: 0.5em;
+}
+
+h1, level levelhd {
+ font-size: 1.7em;
+ margin-top: 1.5em
+}
+h2, level level levelhd {
+ font-size: 1.5em;
+ margin-top: 1.2em
+}
+h3, level level level levelhd {
+ font-size: 1.4em;
+ margin-top: 1.0em
+}
+h4, level level level level levelhd {
+ font-size: 1.3em;
+ margin-top: 1.0em
+}
+h5, level level level level level levelhd {
+ font-size: 1.2em;
+ margin-top: 1.0em
+}
+h6, level level level level level level levelhd {
+ font-size: 1.0em;
+ margin-top: 1.0em
+}
+bridgehead, hd {
+ font-size: 1.0em;
+ margin-top: 0.8em
+}
+
+/* ------------------------------------------------------------- */
+/* pagenum, linenum */
+/* ------------------------------------------------------------- */
+
+pagenum {
+ display: inline;
+ color: rgb(30,30,30);
+ padding: 0.2em 0.2em 0.2em 1em;
+ border: 1px solid rgb(200,200,250);
+ margin-top: 0.8em;
+ margin-bottom: 0.8em;
+}
+
+level > pagenum, level1 > pagenum, level2 > pagenum, level3 > pagenum, level4 > pagenum, level5 > pagenum, level6 > pagenum {
+ display: block;
+}
+
+linenum {
+ display: inline;
+}
+
+linenum:after {
+ content: " "
+}
+
+/* ------------------------------------------------------------- */
+/* general block */
+/* ------------------------------------------------------------- */
+
+div {
+ display: block;
+}
+
+p {
+ display: block;
+ margin-top: 0.7em;
+}
+
+prodnote, notice {
+ display: block;
+ padding: 0.2em;
+ margin: 0.3em;
+ border: 1px solid black;
+}
+
+/* sidebar content model block:
+frontmatter bodymatter rearmatter level level1 level2 level3 level4 level5 level6
+ sidebar content model inline:
+div prodnote sidebar note annotation blockquote dd li th td
+*/
+
+sidebar {
+ display: block;
+ padding: 0.5em;
+ margin-top: 1.5em;
+ margin-bottom: 1.5em;
+ border: 1px solid rgb(0,0,0);
+ background-color: rgb(250,250,250);
+}
+
+div sidebar, prodnote sidebar, sidebar sidebar, note sidebar, annotation sidebar, blockquote sidebar, dd sidebar, li sidebar, th sidebar, td sidebar {
+ float: right;
+ width: inherit;
+ clear: both;
+ margin-left: 1em;
+ margin-right: 1em;
+}
+
+frontmatter sidebar, bodymatter sidebar, rearmatter sidebar, level sidebar, level1 sidebar, level2 sidebar, level3 sidebar, level4 sidebar, level5 sidebar, level6 sidebar {
+ /*inline formatting, all inherited from generic sidebar selector*/
+}
+
+
+address {
+ display: block;
+ margin-top:1em;
+ margin-bottom:1em;
+}
+
+note {
+ display:block;
+ margin: 1.2em 1em 1.2em 1em;
+ padding: 0.5em 1em 0.5em 1em;
+ border-top: 1px solid black;
+ border-bottom: 1px solid black;
+}
+
+blockquote {
+ display: block;
+ margin-left: 2em;
+ margin-top: 0.6em;
+ margin-bottom: 0.6em;
+}
+
+line {
+ display: block;
+ margin: 0em;
+}
+
+poem {
+ display: block;
+ margin-left: 3em;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+linegroup {
+ display: block;
+ margin-top: 0.6em;
+}
+
+dateline, byline {
+ display: block;
+}
+
+epigraph {
+ display: block;
+ margin-top: 2em;
+ margin-bottom: 2em;
+ margin-left: 3em;
+ font-style: italic;
+}
+
+/* ------------------------------------------------------------- */
+/* general inlines */
+/* ------------------------------------------------------------- */
+
+
+a {
+ display: inline;
+ text-decoration: underline;
+ color: rgb(0,0,255);
+}
+
+bdo {
+ display: inline;
+}
+
+em {
+ display: inline;
+ font-style: italic;
+}
+
+strong {
+ display: inline;
+ font-weight: bold;
+}
+
+kbd {
+ display: inline;
+ font-variant: small-caps;
+ font-size: 90%;
+ background: rgb(0,0,0);
+ color: rgb(255,255,255);
+ padding: 0.2em;
+}
+
+span {
+ display: inline;
+}
+
+sub {
+ display: inline;
+ vertical-align : sub;
+ font-size : 90%;
+ padding-left: 0.3em;
+ padding-right: 0.3em;
+}
+
+sup {
+ display: inline;
+ vertical-align : super;
+ font-size : 90%;
+ padding-left: 0.3em;
+ padding-right: 0.3em;
+}
+
+abbr, acronym {
+ display: inline;
+ border-bottom: 1px dotted gray;
+}
+
+dfn {
+ display: inline;
+ border-bottom: 1px dashed black;
+}
+
+code {
+ display: inline;
+ font-family: courier, verdana, arial, sans-serif;
+}
+
+samp {
+ display: inline;
+}
+
+cite {
+ display: inline;
+}
+
+cite title {
+ display: inline;
+ border-bottom: 1px solid grey
+}
+
+cite author {
+ display: inline;
+}
+
+br {
+ display:block;
+}
+
+q {
+ display: inline;
+ font-style: italic;
+}
+
+noteref, annoref {
+ display: inline;
+ font-size: 0.7em;
+ vertical-align: super;
+ padding-left: 0.3em;
+ padding-right: 0.3em;
+ border: 1px solid rgb(210,210,210);
+}
+
+sent {
+ display:inline;
+ margin:0em;
+}
+
+w {
+ display:inline;
+ margin:0em;
+}
+
+
+/* ------------------------------------------------------------- */
+/* list.ul,list.ol */
+/* */
+/* li > list[type=ul] {
+ list-style-type: circle;
+}
+
+list > li > list > li > list[type=ul] {
+ list-style-type: square;
+}
+
+list > li > list, list li list {
+ margin-top: 0em;
+ margin-bottom: 0em;
+}
+
+/* ------------------------------------------------------------- */
+/* definition list */
+/* ------------------------------------------------------------- */
+
+dl, dt, dd {
+ display: block;
+}
+
+dt {
+ font-weight: bold;
+ margin-top: 0.4em;
+}
+
+dd {
+ margin-left: 2em;
+}
+
+
+/* ------------------------------------------------------------- */
+/* tables */
+/* ------------------------------------------------------------- */
+
+
+table {
+ display: table;
+ border-spacing: 0px;
+ border-collapse: collapse;
+ margin-top: 0;
+ margin-bottom: 0;
+ /* -moz-box-sizing: border-box; */
+ text-indent: 0;
+ empty-cells: show;
+}
+
+table > caption {
+ display: table-caption;
+ text-align: center;
+ /* -moz-box-sizing: border-box; */
+}
+
+tr {
+ display: table-row;
+ vertical-align: inherit;
+}
+
+col {
+ display: table-column;
+}
+
+colgroup {
+ display: table-column-group;
+}
+
+tbody {
+ display: table-row-group;
+ vertical-align: middle;
+}
+
+thead {
+ display: table-header-group;
+ vertical-align: middle;
+}
+
+tfoot {
+ display: table-footer-group;
+ vertical-align: middle;
+}
+
+td {
+ display: table-cell;
+ border: 1px solid gray;
+ vertical-align: inherit;
+ text-align: inherit;
+ padding: 0.5em;
+}
+
+th {
+ display: table-cell;
+ /*border: 1px solid gray;*/
+ vertical-align: inherit;
+ font-weight: bold;
+ padding: 2px;
+}
+
+
+/* ------------------------------------------------------------- */
+/* images */
+/* ------------------------------------------------------------- */
+
+imggroup {
+ display: inline;
+}
+
+/*
+img:before {
+ content: url(attr(src));
+}
+*/
+
+imggroup > caption {
+ font-size: 80%;
+}
+
+
diff --git a/src/main/resources/xml/schema/2015-1/mtm2015-1.sch b/src/main/resources/xml/schema/2015-1/mtm2015-1.sch
index 3a070422..4fc63c39 100644
--- a/src/main/resources/xml/schema/2015-1/mtm2015-1.sch
+++ b/src/main/resources/xml/schema/2015-1/mtm2015-1.sch
@@ -1,557 +1,557 @@
-
-
-
- DTBook 2005 Schematron tests for TPB 2010-1 rules
-
-
-
-
-
-
-
- [tpb07] Lists are not allowed inside paragraphs.
- [tpb07] Definition lists are not allowed inside paragraphs.
-
-
-
-
-
-
- [tpb08]<pagenum page="front"/> may only occur in <frontmatter/>
-
-
-
-
-
-
- [tpb09] Element may not be empty
-
-
-
-
-
-
-
- [tpb10] Meta dc:Language must occur at least once
-
- [tpb10] Meta dc:Date=YYYY-MM-DD must occur once
- [tpb10] Meta dc:Date must have format YYYY-MM-DD
-
- [tpb10] Meta dc:Publisher must occur once
-
-
-
-
-
-
- [tpb11] Root element must have an xml:lang attribute
-
-
-
-
-
-
- [tpb12a] Frontmatter must begin with a doctitle element
-
-
-
-
-
- [tpb12b] Docauthor may only be preceded by doctitle
-
-
-
-
-
-
- [tpb13] A document must have frontmatter
- [tpb13] A document must have bodymatter
-
-
-
-
-
-
- [tpb14a] level1 with no h1 when level2 is present
-
-
-
-
-
- [tpb14b] level2 with no h2 when level3 is present
-
-
-
-
-
- [tpb14c] level3 with no h3 when level4 is present
-
-
-
-
-
- [tpb14d] level4 with no h4 when level5 is present
-
-
-
-
-
- [tpb14e] level5 with no h5 when level6 is present
-
-
-
-
-
- [tpb14f] level with no hd when level is present
-
-
-
-
-
-
- [tpb18] Element level is not allowed
-
-
-
-
-
-
- [tpb20] Image groups are not allowed in inline context
-
-
-
-
-
-
- [tpb21] Nested tables are not allowed
-
-
-
-
-
-
- [tpb23] pagenum[@page='normal'] values must increase
-
-
-
-
-
-
- [tpb24] pagenum[@page='front'] values must be unique
-
-
-
-
-
-
- [tpb26] Each note must have at least one noteref
-
-
-
-
-
-
- [tpb27] Each annotation must have at least one annoref
-
-
-
-
-
-
- [tpb29] Block element used in inline context
-
-
-
-
-
-
- [tpb29] Block element as sibling to inline element
- [tpb29] Block element as sibling to inline element
-
-
-
-
-
-
- [tpb29] Prodnote in inline context used as block element
-
-
-
-
-
-
- [tpb40] No gaps may occur in page numbering
-
-
-
-
-
-
-
- [tpb43] Meta dc:Publisher must exist and have value 'TPB', 'MTM', 'SPSM', 'Nota', 'NLB', 'Celia', 'SBS' or 'Dedicon'.
-
-
-
-
-
-
- [tpb52] Images must have the .jpg file extension.
- [tpb52] Images must have a base name, not just an extension.
- [tpb51] Images must be in the same folder as the DTBook file.
- [tpb52] Image file name
- contains an illegal character (must be -_a-zA-Z0-9).
-
-
-
-
-
-
- [tpb59] pagenum in definition list must occur between dd and dt
-
-
-
-
-
-
- [tpb63] Only note references within the same document are allowed
-
-
-
-
-
-
- [tpb64] Only annotation references within the same document are allowed
-
-
-
-
-
-
- [tpb67a] doctitle is only allowed in frontmatter
-
-
-
-
-
- [tpb67b] docauthor is only allowed in frontmatter
-
-
-
-
-
-
- [tpb68] smilref attributes in a plain DTBook file is not allowed
-
-
-
-
-
-
- [tpb72] DTBook version must be 2005-3.
-
-
-
-
-
-
- [tpb93] element may not have leading whitespace
- [tpb93] element may not
- have trailing whitespace
-
-
-
-
-
-
- [tpb96a] nested production notes are not allowed
-
-
-
-
-
- [tpb96b] nested image groups are not allowed
-
-
-
-
-
-
- [tpb101] There must be an img element in every imggroup
-
-
-
-
-
-
- [tpb104] Heading may not be empty
-
-
-
-
-
-
- [tpb105] Page attribute must appear on pagenum elements
-
-
-
-
-
-
- [tpb110] pagenum elements are not
- allowed in headings
-
-
-
-
-
-
- [tpb116] Arabic numbers in page="front" are not allowed
-
-
-
-
-
-
- [tpb120] Only pagenum elements are allowed before the heading .
-
-
-
-
-
-
- [tpb121] Page numbers in tables must be placed between table rows.
-
-
-
-
-
-
- [tpb123] Jacket copy must be in frontmatter
- [tpb123] Jacket copy must follow immediately after docauthor or
- doctitle
-
- [tpb123] Colophon is not allowed in bodymatter
-
-
-
-
-
-
- [tpb124] All documents must contain page numbers
-
-
-
-
-
-
- [tpb125] Invalid image filename.
- [tpb125] Images must be in JPG (*.jpg) format.
-
-
-
-
-
-
- [tpb126] pagenum must not occur directly after hx unless the hx is preceded by a pagenum
-
-
-
-
-
-
- [tpb127] Table of contents (<list class="toc">)must be inside a level1
- [tpb127] Nested lists in table of contents must not have a 'toc' class
-
-
-
-
-
-
- [tpb128] track:Guidelines metadata must occur once.
-
-
-
-
-
- [tpb128] track:Guidelines metadata value must be 2011-1, 2011-2 or 2015-1.
-
-
-
-
-
-
- [tpb130] dc:Language metadata must equal the root element xml:lang
-
-
-
-
-
-
- [tpb131] xml:lang must match '^[a-z][a-z](-[A-Z][A-Z]+)?$'
-
-
-
-
-
-
- [tpb133] Element is disallowed
-
-
-
-
-
-
- [tpb134c] Attribute 'scheme' is not allowed on the element
- [tpb134c] Attribute 'http-equiv' is not allowed on the element
-
-
-
-
-
-
- [tpb135a] Element is only allowed in poem context
-
-
-
-
-
- [tpb135b] Every poem must contain a linegroup
- [tpb135b] Poem lines must be wrapped in a linegroup
-
-
-
-
-
-
- [tpb136] Lists must be of type 'pl' (with any bullets or numbers in the text node)
-
-
-
-
-
-
- [tpb137] Swedish description of unnumbered page used in english context
- [tpb137] English description of unnumbered page used in swedish context
-
-
-
-
-
-
- [tpb140] Only prodnote allowed in jacket copy
- [tpb140] There must be at least one prodnote in jacket copy
- [tpb140] Too many prodnotes with @class='frontcover' in jacket copy
- [tpb140] Too many prodnotes with @class='rearcover' in jacket copy
- [tpb140] Too many prodnotes with @class='leftflap' in jacket copy
- [tpb140] Too many prodnotes with @class='rightflap' in jacket copy
-
-
-
-
-
-
- [tpb141] prodnote in jacket copy must have a class attribute with one of
- 'frontcover', 'rearcover', 'leftflap' or 'rightflap'
-
-
-
-
-
-
- [tpb142] Only @page='special' is allowed in level1/@class='nonstandardpagination'
-
-
-
-
-
-
- [tpb143] pagenum is not allowed last in a list
-
-
-
-
+
+
+
+ DTBook 2005 Schematron tests for TPB 2010-1 rules
+
+
+
+
+
+
+
+ [tpb07] Lists are not allowed inside paragraphs.
+ [tpb07] Definition lists are not allowed inside paragraphs.
+
+
+
+
+
+
+ [tpb08]<pagenum page="front"/> may only occur in <frontmatter/>
+
+
+
+
+
+
+ [tpb09] Element may not be empty
+
+
+
+
+
+
+
+ [tpb10] Meta dc:Language must occur at least once
+
+ [tpb10] Meta dc:Date=YYYY-MM-DD must occur once
+ [tpb10] Meta dc:Date must have format YYYY-MM-DD
+
+ [tpb10] Meta dc:Publisher must occur once
+
+
+
+
+
+
+ [tpb11] Root element must have an xml:lang attribute
+
+
+
+
+
+
+ [tpb12a] Frontmatter must begin with a doctitle element
+
+
+
+
+
+ [tpb12b] Docauthor may only be preceded by doctitle
+
+
+
+
+
+
+ [tpb13] A document must have frontmatter
+ [tpb13] A document must have bodymatter
+
+
+
+
+
+
+ [tpb14a] level1 with no h1 when level2 is present
+
+
+
+
+
+ [tpb14b] level2 with no h2 when level3 is present
+
+
+
+
+
+ [tpb14c] level3 with no h3 when level4 is present
+
+
+
+
+
+ [tpb14d] level4 with no h4 when level5 is present
+
+
+
+
+
+ [tpb14e] level5 with no h5 when level6 is present
+
+
+
+
+
+ [tpb14f] level with no hd when level is present
+
+
+
+
+
+
+ [tpb18] Element level is not allowed
+
+
+
+
+
+
+ [tpb20] Image groups are not allowed in inline context
+
+
+
+
+
+
+ [tpb21] Nested tables are not allowed
+
+
+
+
+
+
+ [tpb23] pagenum[@page='normal'] values must increase
+
+
+
+
+
+
+ [tpb24] pagenum[@page='front'] values must be unique
+
+
+
+
+
+
+ [tpb26] Each note must have at least one noteref
+
+
+
+
+
+
+ [tpb27] Each annotation must have at least one annoref
+
+
+
+
+
+
+ [tpb29] Block element used in inline context
+
+
+
+
+
+
+ [tpb29] Block element as sibling to inline element
+ [tpb29] Block element as sibling to inline element
+
+
+
+
+
+
+ [tpb29] Prodnote in inline context used as block element
+
+
+
+
+
+
+ [tpb40] No gaps may occur in page numbering
+
+
+
+
+
+
+
+ [tpb43] Meta dc:Publisher must exist and have value 'TPB', 'MTM', 'SPSM', 'Nota', 'NLB', 'Celia', 'SBS' or 'Dedicon'.
+
+
+
+
+
+
+ [tpb52] Images must have the .jpg file extension.
+ [tpb52] Images must have a base name, not just an extension.
+ [tpb51] Images must be in the same folder as the DTBook file.
+ [tpb52] Image file name
+ contains an illegal character (must be -_a-zA-Z0-9).
+
+
+
+
+
+
+ [tpb59] pagenum in definition list must occur between dd and dt
+
+
+
+
+
+
+ [tpb63] Only note references within the same document are allowed
+
+
+
+
+
+
+ [tpb64] Only annotation references within the same document are allowed
+
+
+
+
+
+
+ [tpb67a] doctitle is only allowed in frontmatter
+
+
+
+
+
+ [tpb67b] docauthor is only allowed in frontmatter
+
+
+
+
+
+
+ [tpb68] smilref attributes in a plain DTBook file is not allowed
+
+
+
+
+
+
+ [tpb72] DTBook version must be 2005-3.
+
+
+
+
+
+
+ [tpb93] element may not have leading whitespace
+ [tpb93] element may not
+ have trailing whitespace
+
+
+
+
+
+
+ [tpb96a] nested production notes are not allowed
+
+
+
+
+
+ [tpb96b] nested image groups are not allowed
+
+
+
+
+
+
+ [tpb101] There must be an img element in every imggroup
+
+
+
+
+
+
+ [tpb104] Heading may not be empty
+
+
+
+
+
+
+ [tpb105] Page attribute must appear on pagenum elements
+
+
+
+
+
+
+ [tpb110] pagenum elements are not
+ allowed in headings
+
+
+
+
+
+
+ [tpb116] Arabic numbers in page="front" are not allowed
+
+
+
+
+
+
+ [tpb120] Only pagenum elements are allowed before the heading .
+
+
+
+
+
+
+ [tpb121] Page numbers in tables must be placed between table rows.
+
+
+
+
+
+
+ [tpb123] Jacket copy must be in frontmatter
+ [tpb123] Jacket copy must follow immediately after docauthor or
+ doctitle
+
+ [tpb123] Colophon is not allowed in bodymatter
+
+
+
+
+
+
+ [tpb124] All documents must contain page numbers
+
+
+
+
+
+
+ [tpb125] Invalid image filename.
+ [tpb125] Images must be in JPG (*.jpg) format.
+
+
+
+
+
+
+ [tpb126] pagenum must not occur directly after hx unless the hx is preceded by a pagenum
+
+
+
+
+
+
+ [tpb127] Table of contents (<list class="toc">)must be inside a level1
+ [tpb127] Nested lists in table of contents must not have a 'toc' class
+
+
+
+
+
+
+ [tpb128] track:Guidelines metadata must occur once.
+
+
+
+
+
+ [tpb128] track:Guidelines metadata value must be 2011-1, 2011-2 or 2015-1.
+
+
+
+
+
+
+ [tpb130] dc:Language metadata must equal the root element xml:lang
+
+
+
+
+
+
+ [tpb131] xml:lang must match '^[a-z][a-z](-[A-Z][A-Z]+)?$'
+
+
+
+
+
+
+ [tpb133] Element is disallowed
+
+
+
+
+
+
+ [tpb134c] Attribute 'scheme' is not allowed on the element
+ [tpb134c] Attribute 'http-equiv' is not allowed on the element
+
+
+
+
+
+
+ [tpb135a] Element is only allowed in poem context
+
+
+
+
+
+ [tpb135b] Every poem must contain a linegroup
+ [tpb135b] Poem lines must be wrapped in a linegroup
+
+
+
+
+
+
+ [tpb136] Lists must be of type 'pl' (with any bullets or numbers in the text node)
+
+
+
+
+
+
+ [tpb137] Swedish description of unnumbered page used in english context
+ [tpb137] English description of unnumbered page used in swedish context
+
+
+
+
+
+
+ [tpb140] Only prodnote allowed in jacket copy
+ [tpb140] There must be at least one prodnote in jacket copy
+ [tpb140] Too many prodnotes with @class='frontcover' in jacket copy
+ [tpb140] Too many prodnotes with @class='rearcover' in jacket copy
+ [tpb140] Too many prodnotes with @class='leftflap' in jacket copy
+ [tpb140] Too many prodnotes with @class='rightflap' in jacket copy
+
+
+
+
+
+
+ [tpb141] prodnote in jacket copy must have a class attribute with one of
+ 'frontcover', 'rearcover', 'leftflap' or 'rightflap'
+
+
+
+
+
+
+ [tpb142] Only @page='special' is allowed in level1/@class='nonstandardpagination'
+
+
+
+
+
+
+ [tpb143] pagenum is not allowed last in a list
+
+
+
+
diff --git a/src/main/resources/xml/schema/2015-1/nordic2015-1.sch b/src/main/resources/xml/schema/2015-1/nordic2015-1.sch
index d4f333db..658fcae2 100644
--- a/src/main/resources/xml/schema/2015-1/nordic2015-1.sch
+++ b/src/main/resources/xml/schema/2015-1/nordic2015-1.sch
@@ -1,1177 +1,1177 @@
-
-
-
- Nordic EPUB3 and HTML5 rules (based on MTMs DTBook schematron rules, targeting nordic guidelines 2015-1)
-
-
-
-
-
-
-
-
-
-
-
-
- [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, endnote 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] on the html element: the epub:prefix attribute must declare the '' prefix
- [nordic128e] in the epub:prefix attribute on the html element: the namespace for the '' prefix must be ''
-
-
-
-
- prefixes:
- [nordic128e] all of the prefixes in use () on the element () must be declared in the epub:prefix attribute on the html element: '<html epub:prefix="">...</html>
- [nordic128e] in the epub:prefix attribute on the html element: the namespaces for the prefixes must be correct.
-
-
-
-
-
- [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':
-
-
- [nordic203a] 'endnote' must have a section ancestor with 'endnotes':
-
-
-
-
-
- [nordic203c] with the epub:type
- 'rearnotes' must have descendants with 'rearnote'.
- [nordic204c] with the epub:type 'rearnotes' must have <ol> descendant
- elements.
-
-
- [nordic203c] with the epub:type
- 'endnotes' must have descendants with 'endnote'.
- [nordic204c] with the epub:type 'endnotes' must have <ol> descendant
- elements.
-
-
-
-
-
- [nordic203d] 'rearnote' can only be applied to <li> elements:
- [nordic203d] The 'notebody' class must be applied to all rearnotes:
-
-
- [nordic203d] 'endnote' can only be applied to <li> elements:
- [nordic203d] The 'notebody' class must be applied to all endnotes:
-
-
-
-
-
-
- [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 the child element 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 :
-
-
- [nordic267a] Endnotes 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":
-
-
- [nordic267b] List items inside a endnotes list must use epub:type="endnote":
-
-
-
-
-
-
-
-
-
-
- [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:
-
-
-
-
-
-
- [nordic273] Internal link ("") does not resolve:
-
-
-
-
-
-
- [nordic273b] Internal links must contain a non-empty fragment identifier:
-
-
-
-
-
-
- [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] When using MathML with a namespace prefix, that prefix must be 'm'. Not
-
-
-
-
- Rule 293
- details element with extended description must be correctly referenced from img element
-
-
- The img element must correctly reference the details element with the aria-details attribute.
-
-
-
+
+
+
+ Nordic EPUB3 and HTML5 rules (based on MTMs DTBook schematron rules, targeting nordic guidelines 2015-1)
+
+
+
+
+
+
+
+
+
+
+
+
+ [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, endnote 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] on the html element: the epub:prefix attribute must declare the '' prefix
+ [nordic128e] in the epub:prefix attribute on the html element: the namespace for the '' prefix must be ''
+
+
+
+
+ prefixes:
+ [nordic128e] all of the prefixes in use () on the element () must be declared in the epub:prefix attribute on the html element: '<html epub:prefix="">...</html>
+ [nordic128e] in the epub:prefix attribute on the html element: the namespaces for the prefixes must be correct.
+
+
+
+
+
+ [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':
+
+
+ [nordic203a] 'endnote' must have a section ancestor with 'endnotes':
+
+
+
+
+
+ [nordic203c] with the epub:type
+ 'rearnotes' must have descendants with 'rearnote'.
+ [nordic204c] with the epub:type 'rearnotes' must have <ol> descendant
+ elements.
+
+
+ [nordic203c] with the epub:type
+ 'endnotes' must have descendants with 'endnote'.
+ [nordic204c] with the epub:type 'endnotes' must have <ol> descendant
+ elements.
+
+
+
+
+
+ [nordic203d] 'rearnote' can only be applied to <li> elements:
+ [nordic203d] The 'notebody' class must be applied to all rearnotes:
+
+
+ [nordic203d] 'endnote' can only be applied to <li> elements:
+ [nordic203d] The 'notebody' class must be applied to all endnotes:
+
+
+
+
+
+
+ [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 the child element 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 :
+
+
+ [nordic267a] Endnotes 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":
+
+
+ [nordic267b] List items inside a endnotes list must use epub:type="endnote":
+
+
+
+
+
+
+
+
+
+
+ [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:
+
+
+
+
+
+
+ [nordic273] Internal link ("") does not resolve:
+
+
+
+
+
+
+ [nordic273b] Internal links must contain a non-empty fragment identifier:
+
+
+
+
+
+
+ [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] When using MathML with a namespace prefix, that prefix must be 'm'. Not
+
+
+
+
+ Rule 293
+ details element with extended description must be correctly referenced from img element
+
+
+ The img element must correctly reference the details element with the aria-details attribute.
+
+
+
diff --git a/src/main/resources/xml/schema/2020-1/nordic2020-1.sch b/src/main/resources/xml/schema/2020-1/nordic2020-1.sch
index 0318d787..1de26945 100644
--- a/src/main/resources/xml/schema/2020-1/nordic2020-1.sch
+++ b/src/main/resources/xml/schema/2020-1/nordic2020-1.sch
@@ -1,913 +1,913 @@
-
-
- Nordic EPUB3 and HTML5 rules (based on MTMs DTBook schematron rules, targeting nordic guidelines 2020-1)
-
-
-
-
-
-
-
-
-
-
- Rule 8
- Only allow pagebreak w/page-front in frontmatter
-
-
- [nordic08] <span epub:type="pagebreak" class="page-front"/> may only occur in frontmatter and cover.
-
-
-
-
- Rule 9
- Disallow empty elements (with a few exceptions)
-
-
- [nordic09] Only the following elements can be empty: img, br, meta, link, col, th, td, dd, hr, script, and pagebreaks (span/div).
-
-
-
-
- Rule 11
- Root element must have @xml:lang and @lang
-
-
- [nordic11] The <html> element must have an xml:lang attribute.
- [nordic11] The <html> element must have a lang attribute.
-
-
-
-
- Rule 12
- Frontmatter starts with doctitle and docauthor
-
-
- [nordic12] Single-HTML document must begin with a fulltitle heading in its header element (xpath:
- /html/body/header/h1).
-
-
-
-
-
- Rule 13
- All books must have frontmatter and bodymatter
-
-
-
- [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.
-
-
-
-
- Rule 13b
-
-
-
- [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.
-
-
-
-
- Rule 13c
-
-
-
- [nordic13c] The top-level section element must have either cover, frontmatter, bodymatter or backmatter as one of the values on its epub:type.
-
-
-
-
- Rule 13d
-
-
-
- [nordic13d] Section elements that are not top-level sections must not have cover, frontmatter, bodymatter or backmatter as one of the values on its epub:type attribute. It is allowed (but optional) to use the bodymatter type on section elements that are direct children of sections with epub:type="part").
- [nordic13d] Section elements in parts must not have cover, frontmatter or backmatter as one of the values on its epub:type attribute.
-
-
-
-
- Rule 13e
- The body element must not have a epub:type attribute.
-
-
- [nordic13e] The body element must not have a epub:type attribute.
-
-
-
-
- Rule 15
-
-
-
-
- [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.
-
-
-
-
- Rule 21
- No nested tables
-
-
- [nordic21] Nested tables are not allowed.
-
-
-
-
- Rule 23
- Increasing pagebreak values for page-normal
-
-
-
- [nordic23] pagebreak values must increase for pagebreaks with class="page-normal".
-
-
-
-
- Rule 24
- Values of pagebreak must be unique for page-front
-
-
- [nordic24] pagebreak values must be unique for pagebreaks with class="page-front".
-
-
-
-
- Rule 26a
- Each note must have a noteref
-
-
-
- [nordic26a] Each note must have at least one <a epub:type="noteref"
- ...> referencing it.
-
-
-
-
- Rule 26b
- Each noteref must reference a note
-
-
-
- [nordic26b] The note reference must point to a note, endnote or footnote in the publication using its href attribute.
-
-
-
-
-
- Rule 27a
- Each annotation must have an annoref
-
-
-
- [nordic27a] Each annotation must have at least one <a epub:type="annoref" ...> referencing it.
-
-
-
-
- Rule 27b
- Each annoref must reference a annotation
-
-
-
- [nordic27b] The annotation must point to a annotation in the publication using its href attribute.
-
-
-
-
- Rule 29a
- No block elements in inline context (as child). Inline elements: a, abbr, bdo, code, dfn, em, kbd, q, samp, span, strong, sub, sup. Block elements: address, aside, blockquote, p, caption, div, dl, ul, ol, figure, table, h1, h2, h3, h4, h5, h6, details, summary.
-
-
-
- [nordic29] Block element used in inline context.
-
-
-
-
- Rule 29b
- No block elements in inline context (as sibling). Inline elements: a, abbr, bdo, code, dfn, em, kbd, q, samp, span, strong, sub, sup. Block elements: address, aside, blockquote, p, caption, div, dl, ul, ol, figure, table, h1, h2, h3, h4, h5, h6, details, summary, section, article.
-
-
-
-
- [nordic29] Block elements are not allowed as siblings to inline elements.
- [nordic29] Block elements are not allowed as siblings to text content.
-
-
-
-
- Rule 50a
- image alt attribute
-
-
- [nordic50a] an image inside a figure with class='image' must have a non-empty alt attribute.
-
-
-
-
- Rule 51 & 52
-
-
-
- [nordic52] Images must have either the .jpg file extension or the .png 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 names can only contain the characters a-z, A-Z, 0-9, underscore (_) or hyphen (-).
-
-
-
-
- Rule 59
- No pagegnum between a term and a definition in definition lists
-
-
- [nordic59] pagebreak in definition list must not occur as siblings to dd or dt.
-
-
-
-
- Rule 63
- Only note references within the same document
-
-
- [nordic63] Only note references within the same publication are allowed.
-
-
-
-
- Rule 64
- Only annotation references within the same document
-
-
- [nordic64] Only annotation references within the same publication are allowed.
-
-
-
-
- Rule 93
- Some elements may not start of end with whitespace
-
-
- [nordic93] Headings (h1-h6) may not have leading whitespace.
- [nordic93] Headings (h1-h6) may not have trailing whitespace.
-
-
-
-
-
- Rule 96b
-
-
-
- [nordic96b] Nested image series figures are not allowed. Image figures must use the class "image", while image series figures must use the class "image-series".
-
-
-
-
- Rule 96a
- No fig-desc allowed for doc-cover
-
-
- [nordic96c] Aside elements with class="fig-desc" are not allowed in figure elements containing an img with role="doc-cover".
-
-
-
-
-
- Rule 101
- All image series must have at least one image figure
-
-
- [nordic101] There must be at least one figure with class="image" in a image series figure.
-
-
-
-
-
- Rule 102
- All image figures must have a image
-
-
- [nordic102] There must be an img element in every figure with class="image".
- [nordic102] Nested images figures are not allowed. Image figures must use the class "image", while image series figures must use the class "image-series".
-
-
-
-
- Rule 104
- Headings may not be empty elements
-
-
- [nordic104] Headings may not be empty.
-
-
-
-
- Rule 105
- Pagebreaks must have a page-* class and must not contain anything
-
-
- [nordic105] Page breaks must have either a 'page-front', a 'page-normal' or a 'page-special' class.
- [nordic105] Pagebreaks must not contain elements or comments. Text content, if present, must not contain extra whitespace.
-
-
-
-
- Rule 110
- pagebreak in headings
-
-
- [nordic110] Pagebreak elements are not allowed in headings.
-
-
-
-
- Rule 116
- Don't allow arabic numbers in pagebreak w/page-front
-
-
- [nordic116] Hindu-Arabic numbers (0-9) when @class="page-front" are not allowed.
-
-
-
-
- Rule 121
- pagebreaks in tables must not occur between table rows
-
-
- [nordic121] Page numbers in tables must not be placed between table rows.
-
-
-
-
- Rule 123 (39)
- Cover is not part of frontmatter, bodymatter or backmatter
-
-
- [nordic123] Cover (Jacket copy) is a document partition and can not be part the other document partitions frontmatter, bodymatter and rearmatter.
-
-
-
-
-
- Rule 131a
-
-
-
- [nordic131a] xml:lang must must be either a "two- or three-letter lower case" code or a "two- or three-letter lower case and groups of hyphen followed by numbers or letters" (i.e. zh-Hanz-UTF8) code.
-
-
-
- Rule 131b
-
-
-
- [nordic131b] lang must must be either a "two- or three-letter lower case" code or a "two- or three-letter lower case and groups of hyphen followed by numbers or letters" (i.e. zh-Hanz-UTF8) code.
-
-
-
-
- Rule 135a
- Poem contents
-
-
- [nordic135] Every poem must contain a linegroup.
- [nordic135] Poem lines must be wrapped in a linegroup. contains; .
- [nordic135] Poem lines must be wrapped in a linegroup. contains; .
- [nordic135] Poem lines must be wrapped in a linegroup. contains; .
-
-
-
-
- Rule 140
- Jacket copy must contain at least one part of the cover, at most one of each @class value and no other elements
-
-
- [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] There can not be more than one section with class="frontcover" in cover.
- [nordic140] There can not be more than one section with class="rearcover" in cover.
- [nordic140] There can not be more than one section with class="leftflap" in cover.
- [nordic140] There can not be more than one section with class="rightflap" in cover.
-
-
-
-
-
- Rule 143a
- Don't allow pagebreak as siblings to list items or inside the first list item
-
-
- [nordic143a] Pagebreaks are not allowed as siblings to list items.
-
-
-
-
- Rule 143b
-
-
-
- [nordic143b] It is not allowed to have a pagebreak at the beginning of the first list item; it should be placed before the list.
-
-
-
-
- Rule 200
- The title element must not be empty
-
-
- [nordic200] The title element must not be empty.
-
-
-
-
- Rule 202
- frontmatter
-
-
-
-
- [nordic202] '' is not an allowed type in frontmatter. On elements with the epub:type "frontmatter", you can either leave the type blank (and just use 'frontmatter' as the type in the filename), or you can use one of the allowed types.
-
-
-
-
- Rule 203a
- Check that both the epub:types "endnote" and "endnotes" are used in endnotes
-
-
- [nordic203a] 'endnote' must have a section ancestor with 'endnotes'.
-
-
-
-
- Rule 203c
-
-
-
- [nordic203c] Sections with the epub:type 'endnotes' must have descendants with 'endnote'.
- [nordic203c] Sections with the epub:type 'endnotes' must have <ol> descendant elements.
-
-
-
-
- Rule 203d
-
-
-
- [nordic203d] 'endnote' can only be applied to <li> elements.
-
-
-
-
- Rule 204a
- Check that footnotes are placed correctly in a section.
-
-
- [nordic204a] 'footnote' must have a parent section.
- [nordic204a] 'footnote' must be placed at the end of a section.
-
-
-
-
- Rule 204d
-
-
-
- [nordic204d] 'footnote' can only be applied to <aside> elements.
- [nordic204d] The 'doc-footnote' role must be applied to all footnotes.
-
-
-
-
- Rule 208
- bodymatter
-
-
-
-
- [nordic208] Elements with the type "bodymatter" must also have one of the allowed epub:type values allowed for such sections.
-
-
-
-
- Rule 211
- bodymatter.part
-
-
-
-
-
- [nordic211] Sections inside a part must also have one of the allowed epub:type values allowed for such sections.
-
-
-
-
- Rule 215
- backmatter
-
-
-
-
- [nordic215] If elements with the type "backmatter" has additional types, they must be one of the allowed epub:type values allowed for such sections.
-
-
-
-
- Rule 225
- pagebreak
-
-
- [nordic225] The aria-label attribute must be used to describe the page number.
-
-
-
-
- Rule 247
- doctitle.heading - h1
-
-
- [nordic247] The first (h1) heading on the titlepage must have the 'fulltitle' epub:type.
-
-
-
-
- Rule 251
- lic - span
-
-
- [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).
-
-
-
-
- Rule 253a
- figures and captions
-
-
-
- [nordic253a] <figure> elements must either have a class of "image", "image-series" or "table".
- [nordic253a] <figure> elements must either have a class of "image", "image-series" or "table".
- [nordic253a] There cannot be more than one <figcaption> in a single figure element.
-
-
-
-
- Rule 253b
-
-
-
- [nordic253b] Image figures must contain exactly one img.
- [nordic253b] The img in image figures must be a direct child of the figure.
-
-
-
-
- Rule 253c
-
-
-
- [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").
-
-
-
-
- Rule 256
- HTML documents with only a heading
-
-
- [nordic256] Sections in bodymatter must contain more than just headings and pagebreaks, except for when epub:type="part".
-
-
-
-
- Rule 257
- always require both xml:lang and lang
-
-
- [nordic257] The `xml:lang` and the `lang` attributes must have the same value.
-
-
-
-
- Rule 258
- allow at most one pagebreak before any content in each content file
-
-
- [nordic258] Only one pagebreak is allowed before any content in each content file.
-
-
-
-
- Rule 259
- don't allow pagebreak in thead
-
-
- [nordic259] Pagebreaks can not occur within table headers (thead).
- [nordic259] Pagebreaks can not occur within table footers (tfoot).
-
-
-
-
- Rule 260b
-
-
-
- [nordic260b] Content is not allowed between or after image figure elements.
-
-
-
-
- Rule 261
- Text can't be direct child of div
-
-
- [nordic261] Text can't be placed directly inside div elements. Try wrapping it in a p element.
-
-
-
-
- Rule 263
- there must be a heading on the titlepage
-
-
- [nordic263] the titlepage must have a heading (and the heading must have epub:type="fulltitle" and class="title").
-
-
-
-
- Rule 264
- h1 on titlepage must be epub:type=fulltitle with class=title
-
-
- [nordic264] the heading on the titlepage must have a epub:type with the value "fulltitle".
- [nordic264] the heading on the titlepage must have a class with the value "title".
-
-
-
-
- Rule 267a
-
-
-
- [nordic267a] Endnotes must be wrapped in a "ol" element, but is currently wrapped in a .
-
-
-
-
- Rule 267b
-
-
-
- [nordic267b] List items inside a endnotes list must use epub:type="endnote".
-
-
-
-
- Rule 268
- Check that the heading levels are nested correctly (necessary for sidebars and poems, and maybe other structures as well where the RelaxNG is unable to enforce the level)
-
-
-
-
-
-
- [nordic268] The subsections of (which contains the heading </>) must only use <h> for headings. It contains the element which contains the heading .
-
-
-
-
- Rule 269
-
-
-
-
-
-
-
-
- [nordic269] The type used in the filename () must be present on the section element, and be the most specific ().
-
-
-
-
- Rule 270
-
-
-
- [nordic270] Bridgehead is only allowed as a child of section, article, div and aside.
-
-
-
-
-
- Rule 273
-
-
-
- [nordic273] Internal link does not resolve.
-
-
-
-
- Rule 273b
- Disallow internal links without fragment identifiers (see https://github.com/nlbdev/nordic-epub3-dtbook-migrator/issues/372)
-
-
- [nordic273b] Internal links must contain a non-empty fragment identifier.
-
-
-
-
-
- Rule 279a
-
-
-
- [nordic279a] The start attribute must not be used in lists without markers (numbers/letters).
-
-
-
-
- Rule 279b
-
-
-
- [nordic279b] The start attribute must be a positive integer.
-
-
-
-
-
- Rule 280
-
-
-
- [nordic280] Metadata with the dc prefix are only allowed for the 15 official Dublin Core metadata elements: dc:title, dc:subject, dc:description, dc:type, dc:source, dc:relation, dc:coverage, dc:creator, dc:publisher, dc:publisher.original, dc:contributor, dc:rights, dc:date, dc:format, dc:identifier and dc:language.
- [nordic280] The dc metadata prefix must be in lower case.
-
-
-
-
-
- Rule 281
-
-
-
- [nordic281] The span attribute on col and colgroup elements must be a positive integer.
-
-
-
-
-
- Rule 282
-
-
-
- [nordic282] The rowspan attribute value on td and th elements must be a positive integer.
- [nordic282] The colspan attribute value on td and th elements must be a positive integer.
- [nordic282] The rowspan attribute value on td and th elements must not be larger than the number of rows left in the table.
-
-
-
-
- Rule 283
-
-
-
- [nordic283] When using MathML with a namespace prefix, that prefix must be 'm'.
-
-
-
-
- Rule 290
- Rearnotes should not be used. Use endnotes instead.
-
-
- [nordic290] Rearnotes are deprecated. Endnotes are required to be used instead.
-
-
-
-
- Rule 291
- Backmatter sections require specific roles
-
-
-
- [nordic291] Backmatter can only use roles (doc-acknowledgments, doc-afterword, doc-appendix, doc-bibliography, doc-colophon, doc-conclusion, doc-dedication, doc-epigraph, doc-epilogue, doc-glossary, doc-index, doc-toc)
-
-
-
-
-
- Rule 292
- Class sidebar is deprecated for asides
-
-
- [nordic292] The aside attribute class is set to sidebar which is deprecated.
-
-
-
-
- Rule 293
- details element with extended description must be correctly referenced from img element
-
-
- The img element must correctly reference the details element with the aria-details attribute.
-
-
-
+
+
+ Nordic EPUB3 and HTML5 rules (based on MTMs DTBook schematron rules, targeting nordic guidelines 2020-1)
+
+
+
+
+
+
+
+
+
+
+ Rule 8
+ Only allow pagebreak w/page-front in frontmatter
+
+
+ [nordic08] <span epub:type="pagebreak" class="page-front"/> may only occur in frontmatter and cover.
+
+
+
+
+ Rule 9
+ Disallow empty elements (with a few exceptions)
+
+
+ [nordic09] Only the following elements can be empty: img, br, meta, link, col, th, td, dd, hr, script, and pagebreaks (span/div).
+
+
+
+
+ Rule 11
+ Root element must have @xml:lang and @lang
+
+
+ [nordic11] The <html> element must have an xml:lang attribute.
+ [nordic11] The <html> element must have a lang attribute.
+
+
+
+
+ Rule 12
+ Frontmatter starts with doctitle and docauthor
+
+
+ [nordic12] Single-HTML document must begin with a fulltitle heading in its header element (xpath:
+ /html/body/header/h1).
+
+
+
+
+
+ Rule 13
+ All books must have frontmatter and bodymatter
+
+
+
+ [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.
+
+
+
+
+ Rule 13b
+
+
+
+ [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.
+
+
+
+
+ Rule 13c
+
+
+
+ [nordic13c] The top-level section element must have either cover, frontmatter, bodymatter or backmatter as one of the values on its epub:type.
+
+
+
+
+ Rule 13d
+
+
+
+ [nordic13d] Section elements that are not top-level sections must not have cover, frontmatter, bodymatter or backmatter as one of the values on its epub:type attribute. It is allowed (but optional) to use the bodymatter type on section elements that are direct children of sections with epub:type="part").
+ [nordic13d] Section elements in parts must not have cover, frontmatter or backmatter as one of the values on its epub:type attribute.
+
+
+
+
+ Rule 13e
+ The body element must not have a epub:type attribute.
+
+
+ [nordic13e] The body element must not have a epub:type attribute.
+
+
+
+
+ Rule 15
+
+
+
+
+ [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.
+
+
+
+
+ Rule 21
+ No nested tables
+
+
+ [nordic21] Nested tables are not allowed.
+
+
+
+
+ Rule 23
+ Increasing pagebreak values for page-normal
+
+
+
+ [nordic23] pagebreak values must increase for pagebreaks with class="page-normal".
+
+
+
+
+ Rule 24
+ Values of pagebreak must be unique for page-front
+
+
+ [nordic24] pagebreak values must be unique for pagebreaks with class="page-front".
+
+
+
+
+ Rule 26a
+ Each note must have a noteref
+
+
+
+ [nordic26a] Each note must have at least one <a epub:type="noteref"
+ ...> referencing it.
+
+
+
+
+ Rule 26b
+ Each noteref must reference a note
+
+
+
+ [nordic26b] The note reference must point to a note, endnote or footnote in the publication using its href attribute.
+
+
+
+
+
+ Rule 27a
+ Each annotation must have an annoref
+
+
+
+ [nordic27a] Each annotation must have at least one <a epub:type="annoref" ...> referencing it.
+
+
+
+
+ Rule 27b
+ Each annoref must reference a annotation
+
+
+
+ [nordic27b] The annotation must point to a annotation in the publication using its href attribute.
+
+
+
+
+ Rule 29a
+ No block elements in inline context (as child). Inline elements: a, abbr, bdo, code, dfn, em, kbd, q, samp, span, strong, sub, sup. Block elements: address, aside, blockquote, p, caption, div, dl, ul, ol, figure, table, h1, h2, h3, h4, h5, h6, details, summary.
+
+
+
+ [nordic29] Block element used in inline context.
+
+
+
+
+ Rule 29b
+ No block elements in inline context (as sibling). Inline elements: a, abbr, bdo, code, dfn, em, kbd, q, samp, span, strong, sub, sup. Block elements: address, aside, blockquote, p, caption, div, dl, ul, ol, figure, table, h1, h2, h3, h4, h5, h6, details, summary, section, article.
+
+
+
+
+ [nordic29] Block elements are not allowed as siblings to inline elements.
+ [nordic29] Block elements are not allowed as siblings to text content.
+
+
+
+
+ Rule 50a
+ image alt attribute
+
+
+ [nordic50a] an image inside a figure with class='image' must have a non-empty alt attribute.
+
+
+
+
+ Rule 51 & 52
+
+
+
+ [nordic52] Images must have either the .jpg file extension or the .png 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 names can only contain the characters a-z, A-Z, 0-9, underscore (_) or hyphen (-).
+
+
+
+
+ Rule 59
+ No pagegnum between a term and a definition in definition lists
+
+
+ [nordic59] pagebreak in definition list must not occur as siblings to dd or dt.
+
+
+
+
+ Rule 63
+ Only note references within the same document
+
+
+ [nordic63] Only note references within the same publication are allowed.
+
+
+
+
+ Rule 64
+ Only annotation references within the same document
+
+
+ [nordic64] Only annotation references within the same publication are allowed.
+
+
+
+
+ Rule 93
+ Some elements may not start of end with whitespace
+
+
+ [nordic93] Headings (h1-h6) may not have leading whitespace.
+ [nordic93] Headings (h1-h6) may not have trailing whitespace.
+
+
+
+
+
+ Rule 96b
+
+
+
+ [nordic96b] Nested image series figures are not allowed. Image figures must use the class "image", while image series figures must use the class "image-series".
+
+
+
+
+ Rule 96a
+ No fig-desc allowed for doc-cover
+
+
+ [nordic96c] Aside elements with class="fig-desc" are not allowed in figure elements containing an img with role="doc-cover".
+
+
+
+
+
+ Rule 101
+ All image series must have at least one image figure
+
+
+ [nordic101] There must be at least one figure with class="image" in a image series figure.
+
+
+
+
+
+ Rule 102
+ All image figures must have a image
+
+
+ [nordic102] There must be an img element in every figure with class="image".
+ [nordic102] Nested images figures are not allowed. Image figures must use the class "image", while image series figures must use the class "image-series".
+
+
+
+
+ Rule 104
+ Headings may not be empty elements
+
+
+ [nordic104] Headings may not be empty.
+
+
+
+
+ Rule 105
+ Pagebreaks must have a page-* class and must not contain anything
+
+
+ [nordic105] Page breaks must have either a 'page-front', a 'page-normal' or a 'page-special' class.
+ [nordic105] Pagebreaks must not contain elements or comments. Text content, if present, must not contain extra whitespace.
+
+
+
+
+ Rule 110
+ pagebreak in headings
+
+
+ [nordic110] Pagebreak elements are not allowed in headings.
+
+
+
+
+ Rule 116
+ Don't allow arabic numbers in pagebreak w/page-front
+
+
+ [nordic116] Hindu-Arabic numbers (0-9) when @class="page-front" are not allowed.
+
+
+
+
+ Rule 121
+ pagebreaks in tables must not occur between table rows
+
+
+ [nordic121] Page numbers in tables must not be placed between table rows.
+
+
+
+
+ Rule 123 (39)
+ Cover is not part of frontmatter, bodymatter or backmatter
+
+
+ [nordic123] Cover (Jacket copy) is a document partition and can not be part the other document partitions frontmatter, bodymatter and rearmatter.
+
+
+
+
+
+ Rule 131a
+
+
+
+ [nordic131a] xml:lang must must be either a "two- or three-letter lower case" code or a "two- or three-letter lower case and groups of hyphen followed by numbers or letters" (i.e. zh-Hanz-UTF8) code.
+
+
+
+ Rule 131b
+
+
+
+ [nordic131b] lang must must be either a "two- or three-letter lower case" code or a "two- or three-letter lower case and groups of hyphen followed by numbers or letters" (i.e. zh-Hanz-UTF8) code.
+
+
+
+
+ Rule 135a
+ Poem contents
+
+
+ [nordic135] Every poem must contain a linegroup.
+ [nordic135] Poem lines must be wrapped in a linegroup. contains; .
+ [nordic135] Poem lines must be wrapped in a linegroup. contains; .
+ [nordic135] Poem lines must be wrapped in a linegroup. contains; .
+
+
+
+
+ Rule 140
+ Jacket copy must contain at least one part of the cover, at most one of each @class value and no other elements
+
+
+ [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] There can not be more than one section with class="frontcover" in cover.
+ [nordic140] There can not be more than one section with class="rearcover" in cover.
+ [nordic140] There can not be more than one section with class="leftflap" in cover.
+ [nordic140] There can not be more than one section with class="rightflap" in cover.
+
+
+
+
+
+ Rule 143a
+ Don't allow pagebreak as siblings to list items or inside the first list item
+
+
+ [nordic143a] Pagebreaks are not allowed as siblings to list items.
+
+
+
+
+ Rule 143b
+
+
+
+ [nordic143b] It is not allowed to have a pagebreak at the beginning of the first list item; it should be placed before the list.
+
+
+
+
+ Rule 200
+ The title element must not be empty
+
+
+ [nordic200] The title element must not be empty.
+
+
+
+
+ Rule 202
+ frontmatter
+
+
+
+
+ [nordic202] '' is not an allowed type in frontmatter. On elements with the epub:type "frontmatter", you can either leave the type blank (and just use 'frontmatter' as the type in the filename), or you can use one of the allowed types.
+
+
+
+
+ Rule 203a
+ Check that both the epub:types "endnote" and "endnotes" are used in endnotes
+
+
+ [nordic203a] 'endnote' must have a section ancestor with 'endnotes'.
+
+
+
+
+ Rule 203c
+
+
+
+ [nordic203c] Sections with the epub:type 'endnotes' must have descendants with 'endnote'.
+ [nordic203c] Sections with the epub:type 'endnotes' must have <ol> descendant elements.
+
+
+
+
+ Rule 203d
+
+
+
+ [nordic203d] 'endnote' can only be applied to <li> elements.
+
+
+
+
+ Rule 204a
+ Check that footnotes are placed correctly in a section.
+
+
+ [nordic204a] 'footnote' must have a parent section.
+ [nordic204a] 'footnote' must be placed at the end of a section.
+
+
+
+
+ Rule 204d
+
+
+
+ [nordic204d] 'footnote' can only be applied to <aside> elements.
+ [nordic204d] The 'doc-footnote' role must be applied to all footnotes.
+
+
+
+
+ Rule 208
+ bodymatter
+
+
+
+
+ [nordic208] Elements with the type "bodymatter" must also have one of the allowed epub:type values allowed for such sections.
+
+
+
+
+ Rule 211
+ bodymatter.part
+
+
+
+
+
+ [nordic211] Sections inside a part must also have one of the allowed epub:type values allowed for such sections.
+
+
+
+
+ Rule 215
+ backmatter
+
+
+
+
+ [nordic215] If elements with the type "backmatter" has additional types, they must be one of the allowed epub:type values allowed for such sections.
+
+
+
+
+ Rule 225
+ pagebreak
+
+
+ [nordic225] The aria-label attribute must be used to describe the page number.
+
+
+
+
+ Rule 247
+ doctitle.heading - h1
+
+
+ [nordic247] The first (h1) heading on the titlepage must have the 'fulltitle' epub:type.
+
+
+
+
+ Rule 251
+ lic - span
+
+
+ [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).
+
+
+
+
+ Rule 253a
+ figures and captions
+
+
+
+ [nordic253a] <figure> elements must either have a class of "image", "image-series" or "table".
+ [nordic253a] <figure> elements must either have a class of "image", "image-series" or "table".
+ [nordic253a] There cannot be more than one <figcaption> in a single figure element.
+
+
+
+
+ Rule 253b
+
+
+
+ [nordic253b] Image figures must contain exactly one img.
+ [nordic253b] The img in image figures must be a direct child of the figure.
+
+
+
+
+ Rule 253c
+
+
+
+ [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").
+
+
+
+
+ Rule 256
+ HTML documents with only a heading
+
+
+ [nordic256] Sections in bodymatter must contain more than just headings and pagebreaks, except for when epub:type="part".
+
+
+
+
+ Rule 257
+ always require both xml:lang and lang
+
+
+ [nordic257] The `xml:lang` and the `lang` attributes must have the same value.
+
+
+
+
+ Rule 258
+ allow at most one pagebreak before any content in each content file
+
+
+ [nordic258] Only one pagebreak is allowed before any content in each content file.
+
+
+
+
+ Rule 259
+ don't allow pagebreak in thead
+
+
+ [nordic259] Pagebreaks can not occur within table headers (thead).
+ [nordic259] Pagebreaks can not occur within table footers (tfoot).
+
+
+
+
+ Rule 260b
+
+
+
+ [nordic260b] Content is not allowed between or after image figure elements.
+
+
+
+
+ Rule 261
+ Text can't be direct child of div
+
+
+ [nordic261] Text can't be placed directly inside div elements. Try wrapping it in a p element.
+
+
+
+
+ Rule 263
+ there must be a heading on the titlepage
+
+
+ [nordic263] the titlepage must have a heading (and the heading must have epub:type="fulltitle" and class="title").
+
+
+
+
+ Rule 264
+ h1 on titlepage must be epub:type=fulltitle with class=title
+
+
+ [nordic264] the heading on the titlepage must have a epub:type with the value "fulltitle".
+ [nordic264] the heading on the titlepage must have a class with the value "title".
+
+
+
+
+ Rule 267a
+
+
+
+ [nordic267a] Endnotes must be wrapped in a "ol" element, but is currently wrapped in a .
+
+
+
+
+ Rule 267b
+
+
+
+ [nordic267b] List items inside a endnotes list must use epub:type="endnote".
+
+
+
+
+ Rule 268
+ Check that the heading levels are nested correctly (necessary for sidebars and poems, and maybe other structures as well where the RelaxNG is unable to enforce the level)
+
+
+
+
+
+
+ [nordic268] The subsections of (which contains the heading </>) must only use <h> for headings. It contains the element which contains the heading .
+
+
+
+
+ Rule 269
+
+
+
+
+
+
+
+
+ [nordic269] The type used in the filename () must be present on the section element, and be the most specific ().
+
+
+
+
+ Rule 270
+
+
+
+ [nordic270] Bridgehead is only allowed as a child of section, article, div and aside.
+
+
+
+
+
+ Rule 273
+
+
+
+ [nordic273] Internal link does not resolve.
+
+
+
+
+ Rule 273b
+ Disallow internal links without fragment identifiers (see https://github.com/nlbdev/nordic-epub3-dtbook-migrator/issues/372)
+
+
+ [nordic273b] Internal links must contain a non-empty fragment identifier.
+
+
+
+
+
+ Rule 279a
+
+
+
+ [nordic279a] The start attribute must not be used in lists without markers (numbers/letters).
+
+
+
+
+ Rule 279b
+
+
+
+ [nordic279b] The start attribute must be a positive integer.
+
+
+
+
+
+ Rule 280
+
+
+
+ [nordic280] Metadata with the dc prefix are only allowed for the 15 official Dublin Core metadata elements: dc:title, dc:subject, dc:description, dc:type, dc:source, dc:relation, dc:coverage, dc:creator, dc:publisher, dc:publisher.original, dc:contributor, dc:rights, dc:date, dc:format, dc:identifier and dc:language.
+ [nordic280] The dc metadata prefix must be in lower case.
+
+
+
+
+
+ Rule 281
+
+
+
+ [nordic281] The span attribute on col and colgroup elements must be a positive integer.
+
+
+
+
+
+ Rule 282
+
+
+
+ [nordic282] The rowspan attribute value on td and th elements must be a positive integer.
+ [nordic282] The colspan attribute value on td and th elements must be a positive integer.
+ [nordic282] The rowspan attribute value on td and th elements must not be larger than the number of rows left in the table.
+
+
+
+
+ Rule 283
+
+
+
+ [nordic283] When using MathML with a namespace prefix, that prefix must be 'm'.
+
+
+
+
+ Rule 290
+ Rearnotes should not be used. Use endnotes instead.
+
+
+ [nordic290] Rearnotes are deprecated. Endnotes are required to be used instead.
+
+
+
+
+ Rule 291
+ Backmatter sections require specific roles
+
+
+
+ [nordic291] Backmatter can only use roles (doc-acknowledgments, doc-afterword, doc-appendix, doc-bibliography, doc-colophon, doc-conclusion, doc-dedication, doc-epigraph, doc-epilogue, doc-glossary, doc-index, doc-toc)
+
+
+
+
+
+ Rule 292
+ Class sidebar is deprecated for asides
+
+
+ [nordic292] The aside attribute class is set to sidebar which is deprecated.
+
+
+
+
+ Rule 293
+ details element with extended description must be correctly referenced from img element
+
+
+ The img element must correctly reference the details element with the aria-details attribute.
+
+
+
diff --git a/src/main/resources/xml/xslt/dtbook-to-html/dtbook-to-epub3.xsl b/src/main/resources/xml/xslt/dtbook-to-html/dtbook-to-epub3.xsl
index 8410e3c9..b950ccd6 100644
--- a/src/main/resources/xml/xslt/dtbook-to-html/dtbook-to-epub3.xsl
+++ b/src/main/resources/xml/xslt/dtbook-to-html/dtbook-to-epub3.xsl
@@ -537,19 +537,19 @@
-
-
-
-
+
+
+
-
-
-
-
+
+
+
+
diff --git a/src/main/resources/xml/xslt/dtbook2005-to-dtbook110.xsl b/src/main/resources/xml/xslt/dtbook2005-to-dtbook110.xsl
index 3aef6c16..2c69ca53 100644
--- a/src/main/resources/xml/xslt/dtbook2005-to-dtbook110.xsl
+++ b/src/main/resources/xml/xslt/dtbook2005-to-dtbook110.xsl
@@ -1,760 +1,760 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Konverteringsproblem: pagenum kan ikke befinde sig på denne position:
- <pagenum id='
-
- '>
-
-
- </pagenum>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Konverteringsproblem: pagenum kan ikke befinde sig på denne position:
+ <pagenum id='
+
+ '>
+
+
+ </pagenum>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/resources/xml/xslt/generic-to-nordic-dtbook.xsl b/src/main/resources/xml/xslt/generic-to-nordic-dtbook.xsl
index 5e98c233..6a837cc0 100644
--- a/src/main/resources/xml/xslt/generic-to-nordic-dtbook.xsl
+++ b/src/main/resources/xml/xslt/generic-to-nordic-dtbook.xsl
@@ -7,217 +7,217 @@
xpath-default-namespace="http://www.daisy.org/z3986/2005/dtbook/"
exclude-result-prefixes="#all">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/resources/xml/xslt/process-html-metadata.xsl b/src/main/resources/xml/xslt/process-html-metadata.xsl
index 11193650..b6299114 100644
--- a/src/main/resources/xml/xslt/process-html-metadata.xsl
+++ b/src/main/resources/xml/xslt/process-html-metadata.xsl
@@ -4,45 +4,45 @@
xpath-default-namespace="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="#all">
-
+
-
-
-
-
-
+
+
+
+
+
-
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
diff --git a/src/main/resources/xml/xslt/process-opf-metadata.xsl b/src/main/resources/xml/xslt/process-opf-metadata.xsl
index 9810f60c..c4f034ad 100644
--- a/src/main/resources/xml/xslt/process-opf-metadata.xsl
+++ b/src/main/resources/xml/xslt/process-opf-metadata.xsl
@@ -5,30 +5,30 @@
xpath-default-namespace="http://www.idpf.org/2007/opf"
exclude-result-prefixes="#all">
-
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
- 2015-1
-
+
+ 2015-1
+
-
-
-
-
-
+
+
+
+
+
diff --git a/src/main/resources/xml/xslt/split-html.xsl b/src/main/resources/xml/xslt/split-html.xsl
index 83429d02..7690b54c 100644
--- a/src/main/resources/xml/xslt/split-html.xsl
+++ b/src/main/resources/xml/xslt/split-html.xsl
@@ -33,7 +33,7 @@
-
+
@@ -54,23 +54,23 @@
-
+
-
+
-
+
-
+