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

2020-1 validation of book fails with "Effective boolean value is not defined for a sequence of two or more items starting with a boolean" #505

Closed martinpub closed 2 years ago

martinpub commented 2 years ago

EPUB 3 validation against 2020-1 guidelines failed with error message "Effective boolean value is not defined for a sequence of two or more items starting with a boolean".

Any ideas @kalaspuffar, @josteinaj? I attach the full Pipeline 2 log. I will send you the book separately if you have the possibility to debug.

Nordic Migrator version: 20210901 Environment: Docker (Windows host) EPUBCheck validation separately: Succesful

job-316.log.txt

josteinaj commented 2 years ago

Validating against nordic2020-1.sch: V000473-017-part.xhtml

...but no further reference to which validation rule and which content file fails that I can see.

If you can send the book it would be great 👍

martinpub commented 2 years ago

Thanks for checking @josteinaj! I sent a link to the book Friday morning. Let me know if you didn't receive it.

josteinaj commented 2 years ago

I found the issue, and fixed it in the extended-descriptions branch that is waiting for review here: https://github.com/nlbdev/nordic-epub3-dtbook-migrator/pull/504

To get on with your testing of the book, you can remove the epub:type from the body element in V000473-017-part.xhtml.

martinpub commented 2 years ago

Awesome, thanks so much for this fix @josteinaj!