anselmorenato / threepress

Automatically exported from code.google.com/p/threepress
Other
0 stars 0 forks source link

Regression for items with NCX entries but no entry in the OPF spine #153

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

The Problem

The EPUB specs say that we can have things in the manifest that aren't in
the spine. Reading Systems that use NCX-based navigation should allow us to
get to that content by a click. The spec goes on to suggest:

    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. Such
reference mechanisms include, as a partial list, hypertext links within OPS
Content Documents, and references by the NCX, Tours and Guide. Should a
Reading System encounter, by such reference, an OPS Content Document not
listed in spine as required in this specification, the Reading System
should add it to spine (the placement at the discretion of the Reading
System) and assign the value of the linear attribute to no (see next.)

This behavior breaks in many current reading systems when items aren't in
the OPF spine.

Original issue reported on code.google.com by abdela...@gmail.com on 20 Aug 2009 at 7:55

Attachments:

GoogleCodeExporter commented 9 years ago
NCX isn't all of the problem here. It could be an XHTML anchor referencing a 
file not
in the spine (like a glossary or a footnote or something)

Original comment by abdela...@gmail.com on 20 Aug 2009 at 7:59