EPUBCheck MED_013: overlay nigdy nie cytuje rozdziału
Zaktualizowane:
EPUBCheck MED_013 to komunikat o błędzie: „Media Overlay Document referenced from the "media-overlay" attribute does not contain a reference to this Content Document.” Atrybut media-overlay rozdziału wskazuje na plik SMIL, który nigdy się do tego rozdziału nie odnosi. Nakładka musi zawierać elementy tekstowe wskazujące na rozdział, który narruje, w przeciwnym razie aplikacja do czytania nie ma nic do synchronizacji.
Oficjalna wiadomość
Media Overlay Document referenced from the "media-overlay" attribute does not contain a reference to this Content Document.
- Domyślna powaga
- Błąd. EPUB łamie zasady specyfikacji i jest nieprawidłowy. Sklepy i Wysłanie do Kindle mogą go odrzucić, a EPUBCheck kończy działanie ze statusem 1.
- Wersja EPUBCheck
- 5.4.0
EPUBCheck drukuje ten identyfikator z podkreśleniem zamiast myślnika; ta strona używa identyfikatora dokładnie tak, jak EPUBCheck go raportuje.
Typowe przyczyny
- Atrybut media-overlay ustawiony na niewłaściwym elemencie manifestu.
- Plik SMIL, którego ścieżki src tekstu wskazują nadal na stare nazwy plików.
Jak to naprawić
- Otwórz plik SMIL nazwany przez atrybut i sprawdź src jego elementów tekstowych.
- Skoryguj ścieżki, aby wskazywały na rozdział, lub ustaw atrybut na nakładkę, która rzeczywiście go narruje.
- Odbuduj EPUB i uruchom ponownie EPUBCheck, aby potwierdzić, że komunikat zniknął.
Kiedy to nie to
Jeśli nakładka odnosi się do rozdziału, ale atrybut wskazuje na inną nakładkę, zobacz MED_012.
Terminy używane tutaj
Inne komunikaty MED
MED_012The "media-overlay" attribute does not match the ID of the Media Overlay that refers to this document.MED_014Media overlay audio file URLs must not have a fragment, but found '#…'.MED_011EPUB Content Document referenced from multiple Media Overlay Documents.MED_015Media overlay text references must be in reading order. Text target "…" is before the previous link target in … order.MED_010EPUB Content Documents referenced from a Media Overlay must specify the "media-overlay" attribute.MED_016Media Overlays total duration should be the sum of the durations of all Media Overlays documents.
Źródła
Tekst wiadomości i poważność z EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Wyjaśnienie przez EpubCC.