author | František Kučera <franta-hg@frantovo.cz> |
Tue, 26 Feb 2019 15:47:43 +0100 | |
branch | v_0 |
changeset 231 | 71439ecbe71f |
parent 203 | 504c4ba56d1c |
child 249 | 7655df0622ee |
permissions | -rw-r--r-- |
115 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
120
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
2 |
<!-- |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
3 |
SQL-DK |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
4 |
Copyright © 2013 František Kučera (frantovo.cz) |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
5 |
|
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
6 |
This program is free software: you can redistribute it and/or modify |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
7 |
it under the terms of the GNU General Public License as published by |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
8 |
the Free Software Foundation, either version 3 of the License, or |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
9 |
(at your option) any later version. |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
10 |
|
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
11 |
This program is distributed in the hope that it will be useful, |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
14 |
GNU General Public License for more details. |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
15 |
|
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
16 |
You should have received a copy of the GNU General Public License |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
17 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
18 |
--> |
115 | 19 |
<xs:schema |
20 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|
21 |
elementFormDefault="qualified" |
|
22 |
targetNamespace="https://sql-dk.globalcode.info/xmlns/configuration" |
|
23 |
xmlns:c="https://sql-dk.globalcode.info/xmlns/configuration"> |
|
24 |
||
25 |
<xs:element name="configuration"> |
|
26 |
<xs:complexType> |
|
27 |
<xs:sequence> |
|
28 |
<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:database"/> |
|
29 |
<xs:element minOccurs="0" ref="c:defaultFormatter"/> |
|
30 |
<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:formatter"/> |
|
31 |
</xs:sequence> |
|
32 |
</xs:complexType> |
|
33 |
</xs:element> |
|
34 |
||
35 |
<xs:element name="database"> |
|
36 |
<xs:complexType> |
|
37 |
<xs:sequence> |
|
38 |
<xs:element ref="c:name"/> |
|
39 |
<xs:element ref="c:url"/> |
|
40 |
<xs:element minOccurs="0" ref="c:userName"/> |
|
41 |
<xs:element minOccurs="0" ref="c:password"/> |
|
198
03d8492e2ca8
Schemas and XSL for new 'driver' configuration option
František Kučera <franta-hg@frantovo.cz>
parents:
120
diff
changeset
|
42 |
<xs:element minOccurs="0" ref="c:driver"/> |
115 | 43 |
<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:property"/> |
203
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
44 |
<xs:element minOccurs="0" ref="c:tunnel"/> |
115 | 45 |
</xs:sequence> |
46 |
</xs:complexType> |
|
47 |
</xs:element> |
|
48 |
||
49 |
<xs:element name="name" type="xs:string"/> |
|
50 |
<xs:element name="url" type="xs:string"/> |
|
51 |
<xs:element name="userName" type="xs:string"/> |
|
52 |
<xs:element name="password" type="xs:string"/> |
|
198
03d8492e2ca8
Schemas and XSL for new 'driver' configuration option
František Kučera <franta-hg@frantovo.cz>
parents:
120
diff
changeset
|
53 |
<xs:element name="driver" type="xs:string"/> |
115 | 54 |
|
55 |
<xs:element name="property"> |
|
56 |
<xs:complexType mixed="true"> |
|
57 |
<xs:attribute name="name" use="required"/> |
|
58 |
</xs:complexType> |
|
59 |
</xs:element> |
|
60 |
||
203
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
61 |
<xs:element name="tunnel"> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
62 |
<xs:complexType> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
63 |
<xs:sequence> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
64 |
<xs:element ref="c:command"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
65 |
<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:argument"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
66 |
</xs:sequence> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
67 |
</xs:complexType> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
68 |
</xs:element> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
69 |
|
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
70 |
<xs:element name="command" type="xs:string"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
71 |
|
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
72 |
<xs:element name="argument"> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
73 |
<xs:complexType mixed="true"> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
74 |
<xs:attribute name="type"> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
75 |
<xs:simpleType> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
76 |
<xs:restriction base="xs:token"> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
77 |
<xs:enumeration value="literal"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
78 |
<xs:enumeration value="host"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
79 |
<xs:enumeration value="port"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
80 |
<xs:enumeration value="env"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
81 |
<xs:enumeration value="dbProperty"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
82 |
</xs:restriction> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
83 |
</xs:simpleType> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
84 |
</xs:attribute> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
85 |
</xs:complexType> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
86 |
</xs:element> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
87 |
|
115 | 88 |
<xs:element name="defaultFormatter" type="xs:string"/> |
89 |
||
90 |
<xs:element name="formatter"> |
|
91 |
<xs:complexType> |
|
92 |
<xs:sequence> |
|
93 |
<xs:element ref="c:name"/> |
|
94 |
<xs:element ref="c:class"/> |
|
95 |
<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:property"/> |
|
96 |
</xs:sequence> |
|
97 |
</xs:complexType> |
|
98 |
</xs:element> |
|
99 |
||
100 |
<xs:element name="class" type="xs:string"/> |
|
101 |
||
102 |
</xs:schema> |