Fix Metaproxy stops logging after check config failed MP-590
[metaproxy-moved-to-github.git] / xml / schema / filter_load_balance.rnc
1 # Metaproxy XML config file schemas
2
3 #   Copyright (C) Index Data.
4
5 #   See the LICENSE file for details
6
7
8 # The RelaxNG Compact Syntax file 'metaproxy.rnc' is the master copy.
9
10 # The RelaxNG XML Syntax and XML Schema are generated using 'trang':
11 # trang metaproxy.rnc metaproxy.rng 
12 # trang metaproxy.rnc metaproxy.xsd 
13
14 # Config file validation is done using 'xmllint':
15 # xmllint -/-relaxng metaproxy.rng ../../../etc/config1.xml 
16 # xmllint -/-schema metaproxy.xsd config-bytarget.xml
17
18 # For information on RelaxNG see http://relaxng.org 
19 # see also http://books.xmlschemata.org/relaxng/
20
21 namespace mp = "http://indexdata.com/metaproxy"
22
23 filter_load_balance =
24   attribute type { "load_balance" },
25   attribute id { xsd:NCName }?,
26   attribute name { xsd:NCName }?
27