1<?xml version="1.0" encoding="UTF-8"?>
2
3<schema targetNamespace="http://openoffice.org/2004/java/framework/1.0"
4        xmlns:jf="http://openoffice.org/2004/java/framework/1.0"
5        xmlns="http://www.w3.org/2001/XMLSchema"
6        elementFormDefault="qualified">
7
8 <element name="javaSelection" type="jf:JavaSelectionType">
9  <unique name="dummy1">
10   <selector xpath="jf:plugins/jf:library"/>
11   <field xpath="@vendor"/>
12  </unique>
13
14
15  <keyref name="dummy2" refer="jf:pluginKey">
16   <selector xpath="jf:vendorInfos/jf:vendor"/>
17   <field xpath="@name"/>
18  </keyref>
19
20  <unique name="dummy3">
21   <selector xpath="jf:vendorInfos/jf:vendor"/>
22   <field xpath="@name"/>
23  </unique>
24
25  <key name="pluginKey">
26   <selector xpath="jf:plugins/jf:library"/>
27   <field xpath="@vendor"/>
28  </key>
29 </element>
30
31 <complexType name="JavaSelectionType">
32  <sequence>
33   <element name="updated" type="date"/>
34   <element name="vendorInfos" type="jf:VendorInfoType"/>
35   <element name="plugins" type="jf:PluginType"/>
36  </sequence>
37 </complexType>
38
39
40  <complexType name="VendorInfoType">
41  <sequence>
42   <element name="vendor" type="jf:VendorType"  minOccurs="0" maxOccurs="unbounded"/>
43  </sequence>
44 </complexType>
45
46 <complexType name="PluginType">
47  <sequence>
48   <element name="library" type="jf:LibraryType" minOccurs="0" maxOccurs="unbounded"/>
49  </sequence>
50 </complexType>
51
52 <complexType name="LibraryType">
53  <simpleContent>
54    <extension base="string">
55     <attribute name="vendor" use="required" type="string"/>
56    </extension>
57  </simpleContent>
58 </complexType>
59
60 <complexType name="VendorType">
61  <sequence>
62   <element name="minVersion" type="string" minOccurs="0"/>
63   <element name="maxVersion" type="string" minOccurs="0"/>
64   <element name="excludeVersions" minOccurs="0">
65    <complexType>
66     <sequence>
67      <element name="version" type="string" minOccurs="0" maxOccurs="unbounded"/>
68     </sequence>
69    </complexType>
70   </element>
71   </sequence>
72  <attribute name="name" use="required" type="string"/>
73 </complexType>
74
75
76
77</schema>
78