daisy / pipeline-scripts

!! NOTE: This project is now part of the pipeline-modules project !! | Script modules for the default DAISY Pipeline 2 distribution.
GNU Lesser General Public License v3.0
6 stars 5 forks source link

ZedAI validation in dtbook-to-epub3 shouldn't be blocking #68

Closed rdeltour closed 9 years ago

rdeltour commented 9 years ago

dtbook-to-epub3 basically chains dtbook-to-zedaiand zedai-to-epub3. The current implementation systematically validates the intermediary ZeDAI document, but this is essentially a sanity check to detect bugs in the conversion. This shouldn't be a blocker though, as oftentimes the conversion can run through even with a slightly invalid intermediary ZedAI.

One option is to make the entire validation off by default. A better option is probably to run the validation but wrap it in a try/catchstructure to carry on the conversion.

josteinaj commented 9 years ago

It seems to work actually in the newest snapshots. Should be tested against a staged release before closing this issue though, in case this is just due to some custom stuff on my computer.

rdeltour commented 9 years ago

I confirm that an invalid ZedAI is now non-blocking. Closing this issue.