• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
3

epub validation error

Community Beginner ,
Feb 10, 2024 Feb 10, 2024

Copy link to clipboard

Copied

I am getting the following error when trying to validate a reflowable epub that I exported from InDesign: ERROR(RSC-012): epub/OEBPS/toc.xhtml(63,94): Fragment identifier is not defined.
 
Nothing I try is getting rid of the error. I've tried rebuilding the TOC in multiple ways. But it is not fixing the issue. 
TOPICS
EPUB

Views

2.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 19, 2024 Sep 19, 2024

Yes. It's a new feature (implemented in v19.2 or v19.5) supporting a form of accessiblity that is not fully cooked yet and is not universally implemented; Kindle simply strips it out, but many other EPUB vendors see the code it adds as a flaw. Don't check it, ever, until and unless you understand the accessibility it enables, need that feature, and the vendors have slowly caught up to the new standards and features.

 

Also stay out of the Accessiblity menu (a submenu of the Metadata export pane)

...

Votes

Translate

Translate
Participant ,
Oct 15, 2024 Oct 15, 2024

Copy link to clipboard

Copied

The issue is very likely in the pagelist. If you check "Page Navigation" on EPUB export, InDesign with put markers where the page breaks occur in the text. There is a minor bug where it sometimes lists a page number twice and then iterates the ID in the second instance: <span epub:type="pagebreak" role="doc-pagebreak" id="page123-1" aria-label=" Page 123. " />. The error will point to the line in toc.xhtml where that occurs and then you can hunt down and delete that erroneous pagebreak. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines