Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check media types of package items that declare media-overlay attribute #1176

Merged
merged 2 commits into from
Aug 17, 2020

Conversation

mattgarrish
Copy link
Member

The media-overlay attribute is only allowed on manifest items for EPUB content documents. This PR adds a schematron check of the media type of each item to ensure this is true.

Copy link
Member

@rdeltour rdeltour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
I suggest renaming the test file, but it's not a blocker 😊

@mattgarrish mattgarrish merged commit faad546 into master Aug 17, 2020
@mattgarrish mattgarrish deleted the fix/overlays-non-contentdocs branch August 17, 2020 16:15
rdeltour pushed a commit that referenced this pull request Dec 28, 2020
…ntent documents

Add a schema rule to check the media type of items declaring
a `media-overlay` attribute

See #1176
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants