Warning, /libraries/binschema/cpp/xmltoodp/OpenDocument-manifest-schema-v1.0-os.rng is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <!--
0003     OASIS OpenDocument v1.0
0004     OASIS standard, 1 May 2005
0005     Relax-NG Manifest Schema
0006 
0007     $Id$
0008 
0009     © 2002-2005 OASIS Open
0010     © 1999-2005 Sun Microsystems, Inc.
0011 -->
0012 
0013 <grammar 
0014     xmlns="http://relaxng.org/ns/structure/1.0"
0015 
0016     datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
0017 
0018     xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">
0019 <define name="manifest">
0020     <element name="manifest:manifest">
0021         <oneOrMore>
0022             <ref name="file-entry"/>
0023         </oneOrMore>
0024     </element>
0025 </define>
0026 
0027 <start>
0028     <choice>
0029         <ref name="manifest"/>
0030     </choice>
0031 </start>
0032 <define name="file-entry">
0033     <element name="manifest:file-entry">
0034         <ref name="file-entry-attlist"/>
0035         <optional>
0036             <ref name="encryption-data"/>
0037         </optional>
0038     </element>
0039 </define>
0040 <define name="file-entry-attlist" combine="interleave">
0041     <attribute name="manifest:full-path">
0042         <data type="string"/>
0043     </attribute>
0044 </define>
0045 <define name="file-entry-attlist" combine="interleave">
0046     <optional>
0047         <attribute name="manifest:size">
0048             <data type="nonNegativeInteger"/>
0049         </attribute>
0050     </optional>
0051 </define>
0052 <define name="file-entry-attlist" combine="interleave">
0053     <attribute name="manifest:media-type">
0054         <data type="string"/>
0055     </attribute>
0056 </define>
0057 <define name="encryption-data">
0058     <element name="manifest:encryption-data">
0059         <ref name="encryption-data-attlist"/>
0060         <ref name="algorithm"/>
0061         <ref name="key-derivation"/>
0062     </element>
0063 </define>
0064 <define name="encryption-data-attlist" combine="interleave">
0065     <attribute name="manifest:checksum-type">
0066         <data type="string"/>
0067     </attribute>
0068 </define>
0069 <define name="encryption-data-attlist" combine="interleave">
0070     <attribute name="manifest:checksum">
0071         <data type="base64Binary"/>
0072     </attribute>
0073 </define>
0074 <define name="algorithm">
0075     <element name="manifest:algorithm">
0076         <ref name="algorithm-attlist"/>
0077         <empty/>
0078     </element>
0079 </define>
0080 <define name="algorithm-attlist" combine="interleave">
0081     <attribute name="manifest:algorithm-name">
0082         <data type="string"/>
0083     </attribute>
0084 </define>
0085 <define name="algorithm-attlist" combine="interleave">
0086     <attribute name="manifest:initialisation-vector">
0087         <data type="base64Binary"/>
0088     </attribute>
0089 </define>
0090 <define name="key-derivation">
0091     <element name="manifest:key-derivation">
0092         <ref name="key-derivation-attlist"/>
0093         <empty/>
0094     </element>
0095 </define>
0096 <define name="key-derivation-attlist" combine="interleave">
0097     <attribute name="manifest:key-derivation-name">
0098         <data type="string"/>
0099     </attribute>
0100 </define>
0101 <define name="key-derivation-attlist" combine="interleave">
0102     <attribute name="manifest:salt">
0103         <data type="base64Binary"/>
0104     </attribute>
0105 </define>
0106 <define name="key-derivation-attlist" combine="interleave">
0107     <attribute name="manifest:iteration-count">
0108             <data type="nonNegativeInteger"/>
0109         </attribute>
0110 </define>
0111 </grammar>