diff --git a/src/build/update-validator-schemas.sh b/src/build/update-validator-schemas.sh
index e39abfbb3..62ff2fe2d 100755
--- a/src/build/update-validator-schemas.sh
+++ b/src/build/update-validator-schemas.sh
@@ -57,7 +57,7 @@ git fetch $UPSTREAM
## Create patches since last update (to the `latest` tag)
echo "Creating paches of changes since the last update"
-git format-patch -o $EPUBCHECK_DIR $LAST_SHA1..latest schema
+git format-patch -o $EPUBCHECK_DIR/ $LAST_SHA1..latest schema
## Get the SHA-1 of the `latest` tag
LATEST=`git rev-list -n 1 latest`
@@ -85,4 +85,5 @@ git am *.patch
# Remaing tasks:
# - commit new last commit ID
# - squash commits (add "Co-Authored by" credits)
+# `git log --pretty=format:"---------------------%n%n%s%n%nhttps://github.com/validator/validator/commit/%h%n%nCo-authored-by: %aN <%aE>%n" $LAST-SHA1..latest schema``
# - remove patch files
\ No newline at end of file
diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/epub-xhtml-30.sch b/src/main/resources/com/adobe/epubcheck/schema/30/epub-xhtml-30.sch
index 4b967b85d..d1db0b6ed 100644
--- a/src/main/resources/com/adobe/epubcheck/schema/30/epub-xhtml-30.sch
+++ b/src/main/resources/com/adobe/epubcheck/schema/30/epub-xhtml-30.sch
@@ -396,5 +396,14 @@
select="local-name(ancestor::$ancestor)"/> elements.
+
+
+
+ WARNING: The "doc-endnote" role is deprecated and should not be used.
+ WARNING: The "doc-biblioentry" role is deprecated and should not be used.
+
+
diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/mod/html5/LAST_UPDATE b/src/main/resources/com/adobe/epubcheck/schema/30/mod/html5/LAST_UPDATE
index c6fe963c4..126b31fe7 100644
--- a/src/main/resources/com/adobe/epubcheck/schema/30/mod/html5/LAST_UPDATE
+++ b/src/main/resources/com/adobe/epubcheck/schema/30/mod/html5/LAST_UPDATE
@@ -1 +1 @@
-9b11254fbe3c5cb2339794101e17e7d8ec844223
+b118bf6031b0b06797f3ccdc25d0f74c1447139a
diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/mod/html5/applications.rnc b/src/main/resources/com/adobe/epubcheck/schema/30/mod/html5/applications.rnc
index e87f7a1a0..0254ac45e 100644
--- a/src/main/resources/com/adobe/epubcheck/schema/30/mod/html5/applications.rnc
+++ b/src/main/resources/com/adobe/epubcheck/schema/30/mod/html5/applications.rnc
@@ -10,8 +10,6 @@
( common.attrs.contenteditable?
& common.attrs.draggable?
& common.attrs.hidden?
- & common.attrs.spellcheck?
- & common.attrs.autocapitalize?
)
common.attrs.other &= common.attrs.interact
@@ -20,7 +18,7 @@
common.attrs.contenteditable =
attribute contenteditable {
- "true" | "false" | ""
+ "true" | "plaintext-only" | "false" | ""
}
## Draggable Element: draggable
@@ -34,13 +32,39 @@
common.attrs.hidden =
attribute hidden {
- "hidden" | ""
+ "hidden" | "until-found" | ""
+ }
+
+## Global attributes applicable on elements with editable content
+
+ common.attrs.editing &=
+ ( common.attrs.inputmode?
+ & common.attrs.spellcheck?
+ & common.attrs.autocapitalize?
+ & common.attrs.enterkeyhint?
+ )
+
+ common.attrs.other &= common.attrs.editing
+
+## Hint expected data type: inputmode
+
+ common.attrs.inputmode =
+ attribute inputmode {
+ ( "none"
+ | "text"
+ | "tel"
+ | "url"
+ | "email"
+ | "numeric"
+ | "decimal"
+ | "search"
+ )
}
## Spellchecking and grammar checking: spellcheck
common.attrs.spellcheck =
- attribute spellcheck{
+ attribute spellcheck {
"true" | "false" | ""
}
@@ -57,14 +81,19 @@
)
}
-## Application Cache: manifest
+## Type of Enter button on virtual keyboards: enterkeyhint
- html.attrs.manifest =
- attribute manifest {
- common.data.uri.non-empty
+ common.attrs.enterkeyhint =
+ attribute enterkeyhint {
+ ( "enter"
+ | "done"
+ | "go"
+ | "next"
+ | "previous"
+ | "search"
+ | "send"
+ )
}
-
- html.attrs &= html.attrs.manifest?
## Progess Indicator: