author | František Kučera <franta-hg@frantovo.cz> |
Thu, 24 Oct 2019 21:43:08 +0200 | |
branch | v_0 |
changeset 250 | aae5009bd0af |
parent 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 |
250
aae5009bd0af
fix license version: GNU GPLv3
František Kučera <franta-hg@frantovo.cz>
parents:
249
diff
changeset
|
8 |
the Free Software Foundation, version 3 of the License. |
120
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
9 |
|
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
10 |
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
|
11 |
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
|
12 |
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
|
13 |
GNU General Public License for more details. |
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
14 |
|
940681695aa4
XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents:
115
diff
changeset
|
15 |
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
|
16 |
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
|
17 |
--> |
115 | 18 |
<xs:schema |
19 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|
20 |
elementFormDefault="qualified" |
|
249
7655df0622ee
change XMLNS for the configuration
František Kučera <franta-hg@frantovo.cz>
parents:
203
diff
changeset
|
21 |
targetNamespace="tag:globalcode.info,2018:sqldk/configuration" |
7655df0622ee
change XMLNS for the configuration
František Kučera <franta-hg@frantovo.cz>
parents:
203
diff
changeset
|
22 |
xmlns:c="tag:globalcode.info,2018:sqldk/configuration"> |
115 | 23 |
|
24 |
<xs:element name="configuration"> |
|
25 |
<xs:complexType> |
|
26 |
<xs:sequence> |
|
27 |
<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:database"/> |
|
28 |
<xs:element minOccurs="0" ref="c:defaultFormatter"/> |
|
29 |
<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:formatter"/> |
|
30 |
</xs:sequence> |
|
31 |
</xs:complexType> |
|
32 |
</xs:element> |
|
33 |
||
34 |
<xs:element name="database"> |
|
35 |
<xs:complexType> |
|
36 |
<xs:sequence> |
|
37 |
<xs:element ref="c:name"/> |
|
38 |
<xs:element ref="c:url"/> |
|
39 |
<xs:element minOccurs="0" ref="c:userName"/> |
|
40 |
<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
|
41 |
<xs:element minOccurs="0" ref="c:driver"/> |
115 | 42 |
<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
|
43 |
<xs:element minOccurs="0" ref="c:tunnel"/> |
115 | 44 |
</xs:sequence> |
45 |
</xs:complexType> |
|
46 |
</xs:element> |
|
47 |
||
48 |
<xs:element name="name" type="xs:string"/> |
|
49 |
<xs:element name="url" type="xs:string"/> |
|
50 |
<xs:element name="userName" type="xs:string"/> |
|
51 |
<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
|
52 |
<xs:element name="driver" type="xs:string"/> |
115 | 53 |
|
54 |
<xs:element name="property"> |
|
55 |
<xs:complexType mixed="true"> |
|
56 |
<xs:attribute name="name" use="required"/> |
|
57 |
</xs:complexType> |
|
58 |
</xs:element> |
|
59 |
||
203
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
60 |
<xs:element name="tunnel"> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
61 |
<xs:complexType> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
62 |
<xs:sequence> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
63 |
<xs:element ref="c:command"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
64 |
<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
|
65 |
</xs:sequence> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
66 |
</xs:complexType> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
67 |
</xs:element> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
68 |
|
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
69 |
<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
|
70 |
|
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
71 |
<xs:element name="argument"> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
72 |
<xs:complexType mixed="true"> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
73 |
<xs:attribute name="type"> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
74 |
<xs:simpleType> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
75 |
<xs:restriction base="xs:token"> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
76 |
<xs:enumeration value="literal"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
77 |
<xs:enumeration value="host"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
78 |
<xs:enumeration value="port"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
79 |
<xs:enumeration value="env"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
80 |
<xs:enumeration value="dbProperty"/> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
81 |
</xs:restriction> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
82 |
</xs:simpleType> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
83 |
</xs:attribute> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
84 |
</xs:complexType> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
85 |
</xs:element> |
504c4ba56d1c
connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents:
198
diff
changeset
|
86 |
|
115 | 87 |
<xs:element name="defaultFormatter" type="xs:string"/> |
88 |
||
89 |
<xs:element name="formatter"> |
|
90 |
<xs:complexType> |
|
91 |
<xs:sequence> |
|
92 |
<xs:element ref="c:name"/> |
|
93 |
<xs:element ref="c:class"/> |
|
94 |
<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:property"/> |
|
95 |
</xs:sequence> |
|
96 |
</xs:complexType> |
|
97 |
</xs:element> |
|
98 |
||
99 |
<xs:element name="class" type="xs:string"/> |
|
100 |
||
101 |
</xs:schema> |