Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / schema / libreoffice / OpenDocument-dsig-schema-v1.3+libreoffice.rng
blob7fd47cf2352ec2761b49784ee1ffaa14b04315d5
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Open Document Format for Office Applications (OpenDocument) Version 1.3
4 OASIS Standard, in progress
5 Digital Signatures Relax-NG Schema
6 Source: https://tools.oasis-open.org/version-control/svn/office/
7 Copyright (c) OASIS Open 2002-2011. All Rights Reserved.
9 All capitalized terms in the following text have the meanings assigned to them
10 in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The
11 full Policy may be found at the OASIS website.
13 This document and translations of it may be copied and furnished to others, and
14 derivative works that comment on or otherwise explain it or assist in its
15 implementation may be prepared, copied, published, and distributed, in whole or
16 in part, without restriction of any kind, provided that the above copyright
17 notice and this section are included on all such copies and derivative works.
18 However, this document itself may not be modified in any way, including by
19 removing the copyright notice or references to OASIS, except as needed for the
20 purpose of developing any document or deliverable produced by an OASIS
21 Technical Committee (in which case the rules applicable to copyrights, as set
22 forth in the OASIS IPR Policy, must be followed) or as required to translate it
23 into languages other than English.
25 The limited permissions granted above are perpetual and will not be revoked by
26 OASIS or its successors or assigns.
28 This document and the information contained herein is provided on an "AS IS"
29 basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
30 LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT
31 INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
32 FITNESS FOR A PARTICULAR PURPOSE.
33 -->
34 <rng:grammar xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
35 <rng:start>
36 <rng:choice>
37 <rng:ref name="dsig-document-signatures"/>
38 </rng:choice>
39 </rng:start>
40 <rng:define name="ds-signature">
41 <rng:element name="ds:Signature">
42 <!-- The permitted content of this element is the permitted -->
43 <!-- content of the Signature element defined by W3C XML -->
44 <!-- Signature Syntax and Processing (Second Edition). -->
45 <!-- See OpenDocument v1.3 part 2, section 5.3. -->
46 <!-- Office-3874 -->
47 <rng:ref name="dsMarkup"/>
48 </rng:element>
49 </rng:define>
50 <rng:define name="dsMarkup">
51 <rng:zeroOrMore>
52 <rng:choice>
53 <rng:attribute>
54 <rng:anyName/>
55 </rng:attribute>
56 <rng:text/>
57 <rng:element>
58 <rng:anyName/>
59 <rng:ref name="dsMarkup"/>
60 </rng:element>
61 </rng:choice>
62 </rng:zeroOrMore>
63 </rng:define>
64 <rng:define name="dsig-document-signatures">
65 <rng:element name="dsig:document-signatures">
66 <rng:ref name="dsig-document-signatures-attlist"/>
67 <rng:oneOrMore>
68 <rng:ref name="ds-signature"/>
69 </rng:oneOrMore>
70 </rng:element>
71 </rng:define>
72 <rng:define name="dsig-document-signatures-attlist">
73 <rng:attribute name="dsig:version">
74 <rng:value>1.3</rng:value>
75 </rng:attribute>
76 </rng:define>
77 </rng:grammar>