1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*3e02b54dSAndrew Rist<!--***********************************************************
3*3e02b54dSAndrew Rist *
4*3e02b54dSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
5*3e02b54dSAndrew Rist * or more contributor license agreements.  See the NOTICE file
6*3e02b54dSAndrew Rist * distributed with this work for additional information
7*3e02b54dSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
8*3e02b54dSAndrew Rist * to you under the Apache License, Version 2.0 (the
9*3e02b54dSAndrew Rist * "License"); you may not use this file except in compliance
10*3e02b54dSAndrew Rist * with the License.  You may obtain a copy of the License at
11*3e02b54dSAndrew Rist *
12*3e02b54dSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
13*3e02b54dSAndrew Rist *
14*3e02b54dSAndrew Rist * Unless required by applicable law or agreed to in writing,
15*3e02b54dSAndrew Rist * software distributed under the License is distributed on an
16*3e02b54dSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17*3e02b54dSAndrew Rist * KIND, either express or implied.  See the License for the
18*3e02b54dSAndrew Rist * specific language governing permissions and limitations
19*3e02b54dSAndrew Rist * under the License.
20*3e02b54dSAndrew Rist *
21*3e02b54dSAndrew Rist ***********************************************************-->
22cdf0e10cSrcweir
23cdf0e10cSrcweir<schema targetNamespace="http://openoffice.org/2004/java/framework/1.0"
24cdf0e10cSrcweir        xmlns:jf="http://openoffice.org/2004/java/framework/1.0"
25cdf0e10cSrcweir        xmlns="http://www.w3.org/2001/XMLSchema"
26cdf0e10cSrcweir        elementFormDefault="qualified">
27cdf0e10cSrcweir
28cdf0e10cSrcweir <element name="javaSelection" type="jf:JavaSelectionType">
29cdf0e10cSrcweir  <unique name="dummy1">
30cdf0e10cSrcweir   <selector xpath="jf:plugins/jf:library"/>
31cdf0e10cSrcweir   <field xpath="@vendor"/>
32cdf0e10cSrcweir  </unique>
33cdf0e10cSrcweir
34cdf0e10cSrcweir
35cdf0e10cSrcweir  <keyref name="dummy2" refer="jf:pluginKey">
36cdf0e10cSrcweir   <selector xpath="jf:vendorInfos/jf:vendor"/>
37cdf0e10cSrcweir   <field xpath="@name"/>
38cdf0e10cSrcweir  </keyref>
39cdf0e10cSrcweir
40cdf0e10cSrcweir  <unique name="dummy3">
41cdf0e10cSrcweir   <selector xpath="jf:vendorInfos/jf:vendor"/>
42cdf0e10cSrcweir   <field xpath="@name"/>
43cdf0e10cSrcweir  </unique>
44cdf0e10cSrcweir
45cdf0e10cSrcweir  <key name="pluginKey">
46cdf0e10cSrcweir   <selector xpath="jf:plugins/jf:library"/>
47cdf0e10cSrcweir   <field xpath="@vendor"/>
48cdf0e10cSrcweir  </key>
49cdf0e10cSrcweir </element>
50cdf0e10cSrcweir
51cdf0e10cSrcweir <complexType name="JavaSelectionType">
52cdf0e10cSrcweir  <sequence>
53cdf0e10cSrcweir   <element name="updated" type="date"/>
54cdf0e10cSrcweir   <element name="vendorInfos" type="jf:VendorInfoType"/>
55cdf0e10cSrcweir   <element name="plugins" type="jf:PluginType"/>
56cdf0e10cSrcweir  </sequence>
57cdf0e10cSrcweir </complexType>
58cdf0e10cSrcweir
59cdf0e10cSrcweir
60cdf0e10cSrcweir  <complexType name="VendorInfoType">
61cdf0e10cSrcweir  <sequence>
62cdf0e10cSrcweir   <element name="vendor" type="jf:VendorType"  minOccurs="0" maxOccurs="unbounded"/>
63cdf0e10cSrcweir  </sequence>
64cdf0e10cSrcweir </complexType>
65cdf0e10cSrcweir
66cdf0e10cSrcweir <complexType name="PluginType">
67cdf0e10cSrcweir  <sequence>
68cdf0e10cSrcweir   <element name="library" type="jf:LibraryType" minOccurs="0" maxOccurs="unbounded"/>
69cdf0e10cSrcweir  </sequence>
70cdf0e10cSrcweir </complexType>
71cdf0e10cSrcweir
72cdf0e10cSrcweir <complexType name="LibraryType">
73cdf0e10cSrcweir  <simpleContent>
74cdf0e10cSrcweir    <extension base="string">
75cdf0e10cSrcweir     <attribute name="vendor" use="required" type="string"/>
76cdf0e10cSrcweir    </extension>
77cdf0e10cSrcweir  </simpleContent>
78cdf0e10cSrcweir </complexType>
79cdf0e10cSrcweir
80cdf0e10cSrcweir <complexType name="VendorType">
81cdf0e10cSrcweir  <sequence>
82cdf0e10cSrcweir   <element name="minVersion" type="string" minOccurs="0"/>
83cdf0e10cSrcweir   <element name="maxVersion" type="string" minOccurs="0"/>
84cdf0e10cSrcweir   <element name="excludeVersions" minOccurs="0">
85cdf0e10cSrcweir    <complexType>
86cdf0e10cSrcweir     <sequence>
87cdf0e10cSrcweir      <element name="version" type="string" minOccurs="0" maxOccurs="unbounded"/>
88cdf0e10cSrcweir     </sequence>
89cdf0e10cSrcweir    </complexType>
90cdf0e10cSrcweir   </element>
91cdf0e10cSrcweir   </sequence>
92cdf0e10cSrcweir  <attribute name="name" use="required" type="string"/>
93cdf0e10cSrcweir </complexType>
94cdf0e10cSrcweir
95cdf0e10cSrcweir
96cdf0e10cSrcweir
97cdf0e10cSrcweir</schema>
98