Design docs for the A&D and the meta data format in XML added by Poorna.

This commit is contained in:
Cameron (Kamran) Mashayekhi 2005-10-27 16:03:58 +00:00
parent 9274b811dd
commit 3b71a53d7c
2 changed files with 181 additions and 0 deletions

Binary file not shown.

181
c_doc/CCF V3.xsd Normal file
View File

@ -0,0 +1,181 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by shareware (shareware) -->
<!--W3C Schema generated by XML Spy v4.4 U (http://www.xmlspy.com)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="CCF">
<xs:complexType>
<xs:sequence>
<xs:element ref="miCASA"/>
<xs:element ref="KWallet"/>
<xs:element ref="FireFox"/>
<xs:element ref="Mozilla"/>
<xs:element ref="GK"/>
<xs:element ref="LSS"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:short" use="required"/>
<xs:attribute name="username" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="FireFox">
<xs:complexType>
<xs:sequence>
<xs:element ref="Profile"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Folder">
<xs:complexType>
<xs:sequence>
<xs:element ref="Type" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="GK">
<xs:complexType>
<xs:sequence>
<xs:element ref="Keyring"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Group">
<xs:complexType>
<xs:sequence>
<xs:element ref="Key" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="KWallet">
<xs:complexType>
<xs:sequence>
<xs:element ref="Wallet" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Key">
<xs:complexType>
<xs:sequence>
<xs:element ref="value"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="Keychain">
<xs:complexType>
<xs:sequence>
<xs:element ref="Secret" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="Keyring">
<xs:complexType>
<xs:sequence>
<xs:element ref="Secret"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:string" use="required"/>
<xs:attribute name="LastAcctime" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="LSS">
<xs:complexType>
<xs:sequence>
<xs:element ref="Secret"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Mozilla">
<xs:complexType>
<xs:sequence>
<xs:element ref="Profile"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Profile">
<xs:complexType>
<xs:sequence>
<xs:element ref="Secret"/>
</xs:sequence>
<xs:attribute name="ID" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="home"/>
<xs:enumeration value="office"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Secret">
<xs:complexType>
<xs:sequence>
<xs:element ref="Key" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="Time" minOccurs="0"/>
<xs:element ref="Group" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:string"/>
<xs:attribute name="Synch">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="NSL"/>
<xs:enumeration value="_S_"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" type="xs:string"/>
<xs:attribute name="id" type="xs:QName"/>
</xs:complexType>
</xs:element>
<xs:element name="Time">
<xs:complexType>
<xs:sequence>
<xs:element ref="zone"/>
<xs:element ref="creation"/>
<xs:element ref="modified"/>
<xs:element ref="accessed"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Type">
<xs:complexType>
<xs:sequence>
<xs:element ref="Secret"/>
</xs:sequence>
<xs:attribute name="ID" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Maps"/>
<xs:enumeration value="Passwords"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Wallet">
<xs:complexType>
<xs:sequence>
<xs:element ref="Folder"/>
</xs:sequence>
<xs:attribute name="ID" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="AnotherWallet"/>
<xs:enumeration value="Kdewallet"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="accessed" type="xs:string"/>
<xs:element name="creation" type="xs:string"/>
<xs:element name="miCASA">
<xs:complexType>
<xs:sequence>
<xs:element ref="Keychain"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="modified" type="xs:string"/>
<xs:element name="value" type="xs:string"/>
<xs:element name="zone" type="xs:string"/>
</xs:schema>