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

Updated to use Saxon 11 and update all schemas to XSLT 3.0 #549

Closed kalaspuffar closed 1 year ago

kalaspuffar commented 1 year ago

Hi @josteinaj

We found that some books that MTM ran crashed EPUBCheck. Some functions of Saxon were not available in version 9. New EPUBCheck 5.0.0 uses Saxon 11. And it required us to update all the schemas to version XSLT 3.0.

XSLT 2.0 is no longer supported in Saxon 11.

Also needed to update Rule 1 of the nordic2015-1.opf-and-html.sch as it did not support the setting of global variables. I have tested and verified that the new solution finds ids that aren't unique.

Best regards Daniel

josteinaj commented 1 year ago

Sounds good 👍