77 lines
2.6 KiB
XML
77 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
OASIS OpenDocument v1.2 Part 3
|
|
Committee Draft 1, 19 October 2009
|
|
Digital Signatures Relax-NG Schema
|
|
|
|
Copyright © OASIS Open 2008-2009. All Rights Reserved.
|
|
|
|
All capitalized terms in the following text have the meanings assigned to them
|
|
in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The
|
|
full Policy may be found at the OASIS website.
|
|
|
|
This document and translations of it may be copied and furnished to others, and
|
|
derivative works that comment on or otherwise explain it or assist in its
|
|
implementation may be prepared, copied, published, and distributed, in whole or
|
|
in part, without restriction of any kind, provided that the above copyright
|
|
notice and this section are included on all such copies and derivative works.
|
|
However, this document itself may not be modified in any way, including by
|
|
removing the copyright notice or references to OASIS, except as needed for the
|
|
purpose of developing any document or deliverable produced by an OASIS
|
|
Technical Committee (in which case the rules applicable to copyrights, as set
|
|
forth in the OASIS IPR Policy, must be followed) or as required to translate it
|
|
into languages other than English.
|
|
|
|
The limited permissions granted above are perpetual and will not be revoked by
|
|
OASIS or its successors or assigns.
|
|
|
|
This document and the information contained herein is provided on an "AS IS"
|
|
basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
|
LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT
|
|
INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
|
|
FITNESS FOR A PARTICULAR PURPOSE.
|
|
-->
|
|
|
|
<grammar
|
|
xmlns="http://relaxng.org/ns/structure/1.0"
|
|
|
|
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
|
|
|
|
xmlns:dsig="urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0"
|
|
xmlns:xmldsig="http://www.w3.org/2000/09/xmldsig#"
|
|
>
|
|
<start>
|
|
<choice>
|
|
<ref name="dsig-document-signatures"/>
|
|
</choice>
|
|
</start>
|
|
<define name="dsig-document-signatures">
|
|
<element name="dsig:document-signatures">
|
|
<oneOrMore>
|
|
<ref name="xmldsig-signature"/>
|
|
</oneOrMore>
|
|
</element>
|
|
</define>
|
|
<define name="xmldsig-signature">
|
|
<element name="xmldsig:Signature">
|
|
<ref name="xmldsigMarkup"/>
|
|
</element>
|
|
</define>
|
|
<!-- To avoid inclusion of the complete XMLDSIG schema, anything -->
|
|
<!-- is allowed within a xmldsig:Signature element -->
|
|
<define name="xmldsigMarkup">
|
|
<zeroOrMore>
|
|
<choice>
|
|
<attribute>
|
|
<anyName/>
|
|
</attribute>
|
|
<text/>
|
|
<element>
|
|
<anyName/>
|
|
<ref name="xmldsigMarkup"/>
|
|
</element>
|
|
</choice>
|
|
</zeroOrMore>
|
|
</define>
|
|
</grammar>
|