nlbdev / nordic-epub3-dtbook-migrator

Tools for converting between a strict subset of DTBook and EPUB3.
http://nlbdev.github.io/nordic-epub3-dtbook-migrator/
GNU Lesser General Public License v2.1
8 stars 7 forks source link

Validator issue: [nordic_nav_references_2a], incomplete documentation and possibly broken rule #439

Closed martinpub closed 3 years ago

martinpub commented 3 years ago

In the validation of the test book XA60352A, errors like the following occur even for what seems to be valid section references:

[nordic_nav_references_2a] All references from the navigation document must reference either a sectioning element in one of the content documents: (<a href="X60352A-13-chapter.xhtml#level3_11">)

The documentation seems to be an incomplete sentence, so perhaps something else is wrong with how this rule is currently expressed?

Ping @AndersEkl @kalaspuffar

AndersEkl commented 3 years ago

Wasn't it the pagination validation that seemed to be duplicated?

martinpub commented 3 years ago

Yes, sorry, just noticed it myself, removing that sentence.

martinpub commented 3 years ago

Perhaps it's just a typo, so "either a" should be changed to "exactly one"?

kalaspuffar commented 3 years ago

Handled in PR #451