1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 <schema targetNamespace=
"http://openoffice.org/2004/java/framework/1.0"
20 xmlns:
jf=
"http://openoffice.org/2004/java/framework/1.0"
21 xmlns=
"http://www.w3.org/2001/XMLSchema"
22 elementFormDefault=
"qualified">
23 <element name=
"javaSelection" type=
"jf:JavaSelectionType">
24 <unique name=
"dummy1">
25 <selector xpath=
"jf:plugins/jf:library"/>
26 <field xpath=
"@vendor"/>
30 <keyref name=
"dummy2" refer=
"jf:pluginKey">
31 <selector xpath=
"jf:vendorInfos/jf:vendor"/>
32 <field xpath=
"@name"/>
35 <unique name=
"dummy3">
36 <selector xpath=
"jf:vendorInfos/jf:vendor"/>
37 <field xpath=
"@name"/>
40 <key name=
"pluginKey">
41 <selector xpath=
"jf:plugins/jf:library"/>
42 <field xpath=
"@vendor"/>
46 <complexType name=
"JavaSelectionType">
48 <element name=
"updated" type=
"date"/>
49 <element name=
"vendorInfos" type=
"jf:VendorInfoType"/>
50 <element name=
"plugins" type=
"jf:PluginType"/>
55 <complexType name=
"VendorInfoType">
57 <element name=
"vendor" type=
"jf:VendorType" minOccurs=
"0" maxOccurs=
"unbounded"/>
61 <complexType name=
"PluginType">
63 <element name=
"library" type=
"jf:LibraryType" minOccurs=
"0" maxOccurs=
"unbounded"/>
67 <complexType name=
"LibraryType">
69 <extension base=
"string">
70 <attribute name=
"vendor" use=
"required" type=
"string"/>
75 <complexType name=
"VendorType">
77 <element name=
"minVersion" type=
"string" minOccurs=
"0"/>
78 <element name=
"maxVersion" type=
"string" minOccurs=
"0"/>
79 <element name=
"excludeVersions" minOccurs=
"0">
82 <element name=
"version" type=
"string" minOccurs=
"0" maxOccurs=
"unbounded"/>
87 <attribute name=
"name" use=
"required" type=
"string"/>