EPUB conformance profile ignored in WebPub manifests

Aperta
#652 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
swift
Ambito
mobile-dev

Direzione di ricerca

Start by tracing how the toolkit handles a WebPub manifest's conformsTo value for the EPUB profile, then follow the code paths for user preferences and location updates. Reproduce with the Moby Dick manifest in the Readium Test App on iOS; done means EPUB-profile publications expose preferences and update locations while scrolling as expected.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Describe the bug

When loading a WebPub manifest that declares conformance to the EPUB profile via "conformsTo": "https://readium.org/webpub-manifest/profiles/epub", the publication does not behave like an EPUB. Instead, it's treated as a standard WebPub with limited functionality.

Issues observed
  1. No user preferences available e.g.: Theme selection, letter spacing, text alignment, etc.
  2. Location tracking behaves like WebPub instead of EPUB:
    • Location updates only trigger on full page changes
    • No location updates during in-page scrolling
Environment
  • Confirmed in: Readium Test App
  • Works correctly in: Throium Web
Example

Moby Dick on the publication server demonstrates the issue:
https://publication-server.readium.org/Z3M6Ly9yZWFkaXVtLXBsYXlncm91bmQtZmlsZXMvZGVtby9tb2J5LWRpY2suZXB1Yg/manifest.json

How to reproduce?
  1. Load a WebPub manifest with the EPUB profile declaration, e.g. download and import https://publication-server.readium.org/Z3M6Ly9yZWFkaXVtLXBsYXlncm91bmQtZmlsZXMvZGVtby9tb2J5LWRpY2suZXB1Yg/manifest.json (streaming won't work as there is and issues with http range support)
  2. Open the publication
  3. Attempt to submit user preferences - it won't work
  4. Observe location update behavior while scrolling
Readium version

3.3.0

OS version

iOS 18.5

Testing device

iPhone 16

Environment
macOS: 15.5
platform: arm64
carthage: 0.40.0
Xcode 16.3
Build version 16E140
Additional context

No response

Lingua principale
Swift
Stelle
557
Fork
249
Merge medio
3h 52m
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di readium/swift-toolkit

Tutte le issue di readium/swift-toolkit

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.