You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f49aa84
Browse filesBrowse the repository at this point in the historyBrowse files
feat: check references between Media Overlays and Content documents
Add the following new errors:
- Error MED-010 when an item is missing a media-overlay attribute
- Error MED-011 when the media-overlay attribute references the wrong
overlay
- Error MED-012 when the media-overlay attribute references an overlay
that does not reference the underlying content document
- Error MED-013 when a content doc is referenced from multiple overlays
Also Add tests for the new errors.
Implementation note:
- pull the unique references from the text elements while parsing
the overlay documents
- then run checks on the affected content documents in the post-processing
function.
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,10 @@ MED_006=Some browsers do not support rendering SVG images which use a filename i
133
133
MED_007=Foreign resources can only be referenced from "source" elements with an explicit "type" attribute; found resource "%1$s" of foreign type "%2$s".
134
134
MED_008=The time specified in the clipBegin attribute must not be after clipEnd.
135
135
MED_009=The time specified in the clipBegin attribute must not be the same as clipEnd.
136
+
MED_010=EPUB Content Documents referenced from a Media Overlay must specify the "media-overlay" attribute.
137
+
MED_011=EPUB Content Document referenced from multiple Media Overlay Documents.
138
+
MED_012=The "media-overlay" attribute does not match the ID of the Media Overlay that refers to this document.
139
+
MED_013=Media Overlay Document referenced from the "media-overlay" attribute does not contain a reference to this Content Document.
136
140
137
141
#NAV EPUB v3 Table of contents
138
142
NAV_001=The nav file is not supported for EPUB v2.
0 commit comments