Skip to content

nav doc expected to be an index #1122

Closed

Description

@mattgarrish

I was trying to update the "whole index" tests, but found the nav doc was integrated into the content. When I split it out per the minimal epub, I started getting this error:

nav.xhtml(2,110): Error while parsing file: At least one 'index' element must be present in a document declared as an index in the OPF.

I don't see why a nav doc (esp. not in the spine) would be expected to have an index, though. I can't find anything in the indexes spec that would corroborate this error, so I'm assuming it's epubcheck being overzealous.

For now, I'm just going to add the extra expected error and give preference to the common file structuring.

Activity

  1. self-assigned this
    on Jun 30, 2020
  2. added
    priority: mediumTo be processed and published in one of the upcoming releases
    type: false-positiveThis issue is about valid content being incorrectly rejected
    spec: EPUB IndexesImpacting the support of the EPUB Indexes specification
    on Jun 30, 2020
  3. added this to the v4.2.5 milestone on Feb 26, 2021
  4. added a commit that references this issue on Feb 26, 2021
    4b475b9
  5. added
    status: has PRThe issue is being processed in a pull request
    and removed on Feb 26, 2021
  6. added a commit that references this issue on Feb 26, 2021
    33f2f99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: mediumTo be processed and published in one of the upcoming releasesspec: EPUB IndexesImpacting the support of the EPUB Indexes specificationstatus: has PRThe issue is being processed in a pull requesttype: false-positiveThis issue is about valid content being incorrectly rejected

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址