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_opf_and_html_23] Insufficient documentation for easily locating error, and possible duplicate #440

Closed martinpub closed 3 years ago

martinpub commented 3 years ago

For the following output:

[nordic_opf_and_html_23] pagebreak values must increase for pagebreaks with class="page-normal" (see pagebreak with aria-label="" in webarch-obf-and-html.xml and compare with pagebreak with aria-label=" in webarch-obf-and-html.xml)

XPath is included as tooltip info in the HTML output, but it is hard to resolve since it doesn't include the filename.

Including ID of the incorrect page breaks would be a good idea, since they are globally unique.

Also, this seems to be included in the per-content document check, so perhaps this is a duplicate check?

Ping @kalaspuffar @AndersEkl

kalaspuffar commented 3 years ago

Hi @martinpub

This check looks at the numbering of the aria-label. This was incorrect earlier as there was no aria-label to be found. Now that this is updated the rule is valid.

aria-label=""

Best regards Daniel