-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
epub3-to-daisy202 produces invalid daisy202 from valid epub3 #150
Comments
It turns out that the NCC file generated by epub3-to-daisy202 has several errors:
|
I just tried the Pipeline 2 validator. It also discovers some of the issues, but not all of them:
@rdeltour says there is a Java part in Pipeline 1 that was not ported to Pipeline 2, but it seems there are several other differences. |
That the schematron errors aren't visible in the Pipeline 2 report is because they are embedded in the RelaxNG files, and Pipeline 2 doesn't support this. |
@josteinaj These two are added in epub3-to-daisy202 (opf-to-html-metadata.xsl). See d51dcad. But it is invalid. |
Are these really validation issues, or are these shortcomings of Pipeline 1? Of course we can make sure that there are no unneeded namespace declarations in the files (EDIT: I did this now), but still... Should they cause errors? I can't reproduce this with the Pipeline 2 validator. |
Where can I find more info about the allowed file types? http://www.daisy.org/publications/specifications/daisy_202.html talks about the allowed audio file types, but it doesn't mention any image file types. |
That the SMIL related issues are not visible in the Pipeline 2 report is because these validation results are simply ignored. See |
In Pipeline 1, time checks are implemented in Java (ValidatorImplD202). In Pipeline 2 this is done in XSLT/XProc.
This is also implemented in Java in Pipeline 1 (CssFileImpl). |
See PR: daisy/pipeline-modules#1 |
See daisy/pipeline#529 (comment).
The text was updated successfully, but these errors were encountered: