
com.adobe.epubcheck.schema.30.mod.html5.media.rnc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of epubcheck Show documentation
Show all versions of epubcheck Show documentation
EPUBCheck is a tool to validate the conformance of EPUB publications against
the EPUB specifications. EPUBCheck can be run as a standalone command-line tool or used
as a Java library.
The newest version!
# #####################################################################
## RELAX NG Schema for HTML 5: Advanced Embedded Content #
# #####################################################################
## Attributes Common to Media Elements
# src not included
media.attrs =
( media.attrs.autoplay?
& media.attrs.preload?
& media.attrs.controls?
& media.attrs.loop?
& media.attrs.muted?
& embedded.content.attrs.crossorigin?
)
media.attrs.autoplay =
attribute autoplay {
"autoplay" | ""
}
media.attrs.preload =
attribute preload {
"none" | "metadata" | "auto" | ""
}
media.attrs.controls =
attribute controls {
"controls" | ""
}
media.attrs.loop =
attribute loop {
"loop" | ""
}
media.attrs.muted =
attribute muted {
"muted" | ""
}
## Source:
source.elem =
element source { source.inner & source.attrs }
source.attrs =
( common.attrs
& source.attrs.src
& source.attrs.type?
)
source.attrs.src =
attribute src {
common.data.uri.non-empty
}
source.attrs.type =
attribute type {
common.data.mimetype
}
source.inner =
( empty )
## Media Source
media.source =
( media.attrs.src
| source.elem*
)
media.attrs.src =
attribute src {
common.data.uri.non-empty
}
## Video:
© 2015 - 2025 Weber Informatics LLC | Privacy Policy