1 # Metaproxy XML config file schemas
3 # Copyright (C) 2005-2012 Index Data.
5 # See the LICENSE file for details
8 # The RelaxNG Compact Syntax file 'metaproxy.rnc' is the master copy.
10 # The RelaxNG XML Syntax and XML Schema are generated using 'trang':
11 # trang metaproxy.rnc metaproxy.rng
12 # trang metaproxy.rnc metaproxy.xsd
14 # Config file validation is done using 'xmllint':
15 # xmllint -/-relaxng metaproxy.rng ../../../etc/config1.xml
16 # xmllint -/-schema metaproxy.xsd config-bytarget.xml
18 # For information on RelaxNG see http://relaxng.org
19 # see also http://books.xmlschemata.org/relaxng/
21 namespace mp = "http://indexdata.com/metaproxy"
24 attribute type { "log" },
25 attribute id { xsd:NCName }?,
26 attribute name { xsd:NCName }?,
27 element mp:message { xsd:string }?,
28 element mp:time-format { xsd:string }?,
29 element mp:filename { xsd:string }?,
31 attribute user-access { xsd:boolean }?,
32 attribute access { xsd:boolean }?,
33 attribute init-options { xsd:boolean }?,
34 attribute request-session { xsd:boolean }?,
35 attribute response-session { xsd:boolean }?,
36 attribute session { xsd:boolean }?,
37 attribute apdu { xsd:boolean }?,
38 attribute request-apdu { xsd:boolean }?,
39 attribute response-apdu { xsd:boolean }?