-
Notifications
You must be signed in to change notification settings - Fork 163
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
Invalid pageTarget type value? #11
Comments
Yes, it's an error. Epubcheck uses an RNG-equivalent schema to validate, but it doesn't require the enumeration. See https:/IDPF/epubcheck/blob/master/src/main/resources/com/adobe/epubcheck/schema/20/rng/ncx.rng#L225 |
Apologies for the delayed reply, it was a public holiday in my state. Thanks for this, and thanks for opening the bug ticket on the ePubCheck repository. For people who are interested in the progress of this issue check |
I've also updated the sample in commit 0ef85d2 I didn't find the issue in any of the other samples fortunately. |
The NCX file for the ePub 3 samples uses the XML Namespace at http://www.daisy.org/z3986/2005/ncx/
This says the following about the pageTarget element:
If I'm reading this correctly, the only permitted values for the pageTarget's type attribute are front, normal, and special.
Some of the examples listed in this repository use values other than these. Using https:/IDPF/epub3-samples/blob/master/30/childrens-literature/EPUB/toc.ncx as an example:
Is my interpretation of the spec correct? What is the meaning of the "body" pageTarget type?
The text was updated successfully, but these errors were encountered: