TAVERNA-925: Required attributes
Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/commit/fb05e139 Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/tree/fb05e139 Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/diff/fb05e139 Branch: refs/heads/master Commit: fb05e1396d54e21f99ce2b9c51d69c85e480bddc Parents: 0666c60 Author: Stian Soiland-Reyes <[email protected]> Authored: Fri May 11 15:53:08 2018 +0100 Committer: Stian Soiland-Reyes <[email protected]> Committed: Fri May 11 15:53:08 2018 +0100 ---------------------------------------------------------------------- taverna-robundle/src/main/xsd/manifest.xsd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/fb05e139/taverna-robundle/src/main/xsd/manifest.xsd ---------------------------------------------------------------------- diff --git a/taverna-robundle/src/main/xsd/manifest.xsd b/taverna-robundle/src/main/xsd/manifest.xsd index d2697c4..6ceac59 100644 --- a/taverna-robundle/src/main/xsd/manifest.xsd +++ b/taverna-robundle/src/main/xsd/manifest.xsd @@ -84,7 +84,7 @@ </xsd:documentation> </xsd:annotation> </xsd:attribute> - <xsd:attribute name="media-type" type="xsd:string"> + <xsd:attribute name="media-type" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation> IANA media type @@ -139,7 +139,7 @@ </xsd:annotation> </xsd:element> <xsd:element name="start-key-generation" - type="manifest:StartKeyGeneration"> + type="manifest:StartKeyGeneration" minOccurs="0"> <xsd:annotation> <xsd:documentation> http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part3.html#element-manifest_start-key-generation @@ -147,14 +147,14 @@ </xsd:annotation> </xsd:element> </xsd:sequence> - <xsd:attribute name="checksum" type="xsd:base64Binary"> + <xsd:attribute name="checksum" type="xsd:base64Binary" use="required"> <xsd:annotation> <xsd:documentation> http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part3.html#attribute-manifest_checksum </xsd:documentation> </xsd:annotation> </xsd:attribute> - <xsd:attribute name="checksum-type" type="xsd:string"> + <xsd:attribute name="checksum-type" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation> http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part3.html#attribute-manifest_checksum-type
