This repository was archived by the owner on May 7, 2025. It is now read-only.
This repository was archived by the owner on May 7, 2025. It is now read-only.
Reading progression is stuck in an infinite loop #568
Open
Description
This issue is a Bug
Expected Behaviour
To be able to flip pages in the reader as normal
Observed behaviour
Reading progression is stuck in an infinite loop
Steps to reproduce
- Load the specified EPUB file with the instructed modifications into the reader
- Flip through the pages
- Notice that it only navigates through the first two spine items repeatedly
Test file(s)
- Download the Accessible EPUB 3 sample from here: http://idpf.github.io/epub3-samples/samples.html
- Uncompress it and modify the OPF file's spine list to this:
<spine>
<itemref idref="cover" linear="no"/>
<itemref idref="spi_ad"/>
<itemref idref="id-id2442754"/>
<itemref idref="spi_ad"/>
<itemref idref="htmltoc" linear="yes"/>
<itemref idref="id-id2632344"/>
<itemref idref="id-id2604743"/>
<itemref idref="id-id2629773"/>
<itemref idref="id-id2620395"/>
<itemref idref="id-id2638681"/>
<itemref idref="id-id2611884"/>
<itemref idref="id-id2627310"/>
<itemref idref="id-id2635343"/>
<itemref idref="id-id2622654"/>
<itemref idref="id-id2624850"/>
<itemref idref="id-id2640702"/>
<itemref idref="id-id2641220"/>
<itemref idref="id-id2642385"/>
<itemref idref="id-id2644001"/>
<itemref idref="id-id2644238"/>
<itemref idref="id-id2645594"/>
<itemref idref="id-id2645682"/>
<itemref idref="id-id2645862"/>
</spine>
Product
- Readium Chrome extension
- latest official version available from the Chrome Web Store
- Version of the Chrome browser: 53
- OS and version: OSX El Capitan
Additional information
The OPF spec specifies that: "a specific spine item (from the perspective of its id attribute value in manifest) must not appear more than once in spine."
iBooks doesn't have this issue, it skips the duplicate spine item in the spine