Skip to content

EPUB conformance profile ignored in WebPub manifests #652

@sysint64

Description

@sysint64

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions