diff --git a/resources/validations/src/media-type.sch b/resources/validations/src/media-type.sch new file mode 100644 index 000000000..e9aa8415e --- /dev/null +++ b/resources/validations/src/media-type.sch @@ -0,0 +1,38 @@ + + + + + + + media-types document is available. + + + media-types have been correctly obtained. + A media-type attribute must have an allowed value. + + + + This has a media-type=" " which is not in the list of allowed media types. Allowed media types are . + + diff --git a/resources/validations/src/media-type.xml b/resources/validations/src/media-type.xml new file mode 100644 index 000000000..652672603 --- /dev/null +++ b/resources/validations/src/media-type.xml @@ -0,0 +1,9 @@ + + + + + + + diff --git a/resources/validations/src/media-type.xspec b/resources/validations/src/media-type.xspec new file mode 100644 index 000000000..744c61537 --- /dev/null +++ b/resources/validations/src/media-type.xspec @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + diff --git a/resources/validations/src/media-types.xml b/resources/validations/src/media-types.xml new file mode 100644 index 000000000..ff5a1a7a9 --- /dev/null +++ b/resources/validations/src/media-types.xml @@ -0,0 +1,67 @@ + + + + + Resource Media Types + A subset of IANA media types expected to be encountered. + + + + application/gzip + application/msword + application/octet-stream + application/pdf + application/vnd.ms-excel + application/vnd.ms-works + application/vnd.oasis.opendocument.graphics + application/vnd.oasis.opendocument.presentation + application/vnd.oasis.opendocument.spreadsheet + application/vnd.oasis.opendocument.text + application/vnd.openxmlformats-officedocument.presentationml.presentation + application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + application/vnd.openxmlformats-officedocument.wordprocessingml.document + application/x-bzip + application/x-bzip2 + application/x-tar + application/zip + image/bmp + image/jpeg + image/png + image/tiff + image/webp + image/svg+xml + text/csv + text/html + text/plain + + +