xml/config.rnc
author František Kučera <franta-hg@frantovo.cz>
Thu, 24 Oct 2019 21:43:08 +0200
branchv_0
changeset 250 aae5009bd0af
parent 249 7655df0622ee
permissions -rw-r--r--
fix license version: GNU GPLv3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
120
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 113
diff changeset
     1
# SQL-DK
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 113
diff changeset
     2
# Copyright © 2013 František Kučera (frantovo.cz)
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 113
diff changeset
     3
# 
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 113
diff changeset
     4
# 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: 113
diff changeset
     5
# 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
     6
# the Free Software Foundation, version 3 of the License.
120
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 113
diff changeset
     7
# 
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 113
diff changeset
     8
# 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: 113
diff changeset
     9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 113
diff changeset
    10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 113
diff changeset
    11
# GNU General Public License for more details.
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 113
diff changeset
    12
# 
940681695aa4 XML schemas licenses
František Kučera <franta-hg@frantovo.cz>
parents: 113
diff changeset
    13
# 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: 113
diff changeset
    14
# 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: 113
diff changeset
    15
249
7655df0622ee change XMLNS for the configuration
František Kučera <franta-hg@frantovo.cz>
parents: 203
diff changeset
    16
default namespace = "tag:globalcode.info,2018:sqldk/configuration"
113
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    17
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    18
start =
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    19
	element configuration {
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    20
		
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    21
		element database {
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    22
			element name { text },
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    23
			element url { text },
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    24
			element userName { text }?,
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    25
			element password { text }?,
198
03d8492e2ca8 Schemas and XSL for new 'driver' configuration option
František Kučera <franta-hg@frantovo.cz>
parents: 120
diff changeset
    26
			element driver { text }?,
113
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    27
			element property {
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    28
				attribute name { text },
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    29
				text
203
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    30
			}*,
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    31
			element tunnel {
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    32
				element command { text },
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    33
				element argument {
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    34
					attribute type { "literal" | "host" | "port" | "env" | "dbProperty" }?,
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    35
					text
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    36
				}*
504c4ba56d1c connection tunnelling: configuration and logging
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
    37
			}?
113
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    38
		}*,
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    39
		
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    40
		element defaultFormatter { text }?,
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    41
		
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    42
		element formatter {
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    43
			element name { text },
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    44
			element class { text },
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    45
			element property {
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    46
				attribute name { text },
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    47
				text
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    48
			}*
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    49
		}*
575a8c6b91ad Relax NG schema for XML configuration
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    50
	}