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
Does spine listing requirement apply to nav doc? #545
Comments
You're right, it shouldn't be a WARNING....It should actually be an ERROR! Publications says
Right? |
Right, but that rule was added without consideration of this case (to address the CFI linking problem and a desire for all content documents to be in-spine). Is it the case that landmarks must load in the content area of the reading system? I really don't know the answer, as we don't say. But, if so, then you're right it should be an error. If not, since the nav doc can open outside of the spine as xhtml, and clicking the link could simply scroll you back up to the toc, is it really an error? |
I would suggest that if the Nav Doc is not in the spine, then the In other words, I think this Nav Doc rule makes sense, and s/b enforced as such in EpubCheck (making RSC-011 an ERROR). Agreed? |
Right, this is the wrong forum, and I'm not sure I care enough to pursue it. :) It's a niche case, as no other content document gets spine exclusion. |
This is mandated in both EPUB 2.0.1 and EPUB 3: - EPUB Publications 3.0.1 says (in section 3.4.12 "The spine Element"): > All EPUB Content Documents that are linked to from EPUB Content > Documents in the spine must themselves be listed in the spine. - Open Packaging Format 2.0.1 says (in section 2.4 "Spine"): > All OPS Content Documents that are part of the publication (i.e. are listed in the manifest) which are potentially reachable by any reference mechanism allowed in this specification must be included in the spine. Note: False negatives will be raised when a Content Document is in the manifest but not linked from any other document. Checking the existence of a chain of links from an in-spine document is difficult with the current object model, and the case is allegedly rather rare. See also #545.
If a landmark entry references the toc in navigation document:
<li><a epub:type="toc" href="#toc">Table of Contents</a></li>
But the navigation document is not listed in the spine, is it correct that this warning be issued:
WARNING(RSC-011): .\English-Language-GCSE-for-AQA.epub/EPUB/Text/nav.xhtml(52,52): Found a reference to a resource that is not a spine item.
It's not technically a requirement that the nav doc load in the spine.
The text was updated successfully, but these errors were encountered: