EPUBCheck MED_012: niezgodność id media-overlay
Zaktualizowane:
EPUBCheck MED_012 to komunikat o błędzie: „The "media-overlay" attribute does not match the ID of the Media Overlay that refers to this document.” Atrybut media-overlay rozdziału wskazuje na inną nakładkę niż ta, która się do niej odnosi. Plik SMIL, który narruje rozdział i element manifestu rozdziału, muszą wskazywać na siebie.
Oficjalna wiadomość
The "media-overlay" attribute does not match the ID of the Media Overlay that refers to this 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
- Identyfikatory nakładek zmienione lub zamienione w manifeście.
- Rozdział skopiowany z jego elementu manifestu, zachowując wartość media-overlay oryginału.
Jak to naprawić
- Znajdź plik SMIL, którego elementy tekstowe wskazują na rozdziały EPUBCheck.
- Ustaw atrybut media-overlay rozdziału na id manifestu tego pliku SMIL.
- Sprawdź inne rozdziały w ten sam sposób: te błędy zazwyczaj występują w grupach.
- Odbuduj EPUB i uruchom ponownie EPUBCheck, aby potwierdzić, że komunikat zniknął.
Kiedy to nie to
Jeśli atrybut jest całkowicie brakujący, błąd to MED_010.
Terminy używane tutaj
Inne komunikaty MED
MED_011EPUB Content Document referenced from multiple Media Overlay Documents.MED_013Media Overlay Document referenced from the "media-overlay" attribute does not contain a reference to this Content Document.MED_010EPUB Content Documents referenced from a Media Overlay must specify the "media-overlay" attribute.MED_014Media overlay audio file URLs must not have a fragment, but found '#…'.MED-009The time specified in the clipBegin attribute must not be the same as clipEnd.MED_015Media overlay text references must be in reading order. Text target "…" is before the previous link target in … order.
Źródła
Tekst wiadomości i poważność z EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Wyjaśnienie przez EpubCC.