com.adobe.epubcheck.schema.30.mod.html5.applications.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.
# #####################################################################
## RELAX NG Schema for HTML 5: Web Application Features #
# #####################################################################
## Additions to Common Attributes
common.attrs.interact &=
( common.attrs.contenteditable?
& common.attrs.draggable?
& common.attrs.hidden?
& common.attrs.spellcheck?
& common.attrs.autocapitalize?
)
common.attrs.other &= common.attrs.interact
## Editable Content: contenteditable
common.attrs.contenteditable =
attribute contenteditable {
"true" | "false" | ""
}
## Draggable Element: draggable
common.attrs.draggable =
attribute draggable {
"true" | "false"
}
## Hidden Element: hidden
common.attrs.hidden =
attribute hidden {
"hidden" | ""
}
## Spellchecking and grammar checking: spellcheck
common.attrs.spellcheck =
attribute spellcheck{
"true" | "false" | ""
}
## Autocapitalization
common.attrs.autocapitalize =
attribute autocapitalize {
( "off"
| "none"
| "on"
| "sentences"
| "words"
| "characters"
)
}
## Application Cache: manifest
html.attrs.manifest =
attribute manifest {
common.data.uri.non-empty
}
html.attrs &= html.attrs.manifest?
## Progess Indicator: