zoom: make retry on failure configurable MP-565
[metaproxy-moved-to-github.git] / xml / schema / filter_zoom.rnc
1 # Metaproxy XML config file schema
2
3 namespace mp = "http://indexdata.com/metaproxy"
4
5 filter_zoom =
6   attribute type { "zoom" },
7   attribute id { xsd:NCName }?,
8   attribute name { xsd:NCName }?,
9   element mp:torus {
10     attribute auth_url { xsd:string }?,
11     attribute url { xsd:string }?,
12     attribute content_url { xsd:string }?,
13     attribute realm { xsd:string }?,
14     attribute xsldir { xsd:string }?,
15     attribute element_transform { xsd:string }?,
16     attribute element_raw { xsd:string }?,
17     attribute element_passthru { xsd:string }?,
18     attribute proxy { xsd:string }?,
19     attribute explain_xsl { xsd:string }?,
20     attribute record_xsl { xsd:string }?,
21     element mp:records {
22       element mp:record {
23         element mp:authentication { xsd:string }?,
24         element mp:authenticationMode { xsd:string }?,
25         element mp:piggyback { xsd:string }?,
26         element mp:queryEncoding { xsd:string }?,
27         element mp:udb { xsd:string },
28         element mp:cclmap_au { xsd:string }?,
29         element mp:cclmap_date { xsd:string }?,
30         element mp:cclmap_isbn { xsd:string }?,
31         element mp:cclmap_su { xsd:string }?,
32         element mp:cclmap_term { xsd:string }?,
33         element mp:cclmap_ti { xsd:string }?,
34         element mp:elementSet { xsd:string }?,
35         element mp:recordEncoding { xsd:string }?,
36         element mp:requestSyntax { xsd:string }?,
37         element mp:sru { xsd:string }?,
38         element mp:sruVersion { xsd:string }?,
39         element mp:transform { xsd:string }?,
40         element mp:literalTransform { xsd:string }?,
41         element mp:urlRecipe { xsd:string }?,
42         element mp:zurl { xsd:string },
43         element mp:cfAuth { xsd:string }?,
44         element mp:cfProxy { xsd:string }?,
45         element mp:cfSubDB { xsd:string }?,
46         element mp:contentConnector { xsd:string }?,
47         element mp:sortStrategy { xsd:string }?,
48         element mp:sortmap_author { xsd:string }?,
49         element mp:sortmap_date { xsd:string }?,
50         element mp:sortmap_title { xsd:string }?,
51         element mp:extraArgs { xsd:string }?,
52         element mp:rpn2cql { xsd:string }?,
53         element mp:retryOnFailure { xsd:string }?
54       }*
55     }?
56   }?,
57   element mp:fieldmap {
58     attribute cql { xsd:string },
59     attribute ccl { xsd:string }?
60   }*,
61   element mp:cclmap {
62     element mp:qual {
63       attribute name { xsd:string },
64       element mp:attr {
65         attribute type { xsd:string },
66         attribute value { xsd:string }
67       }+
68     }*
69   }?,
70   element mp:contentProxy {
71     attribute config_file { xsd:string }?,
72     attribute server { xsd:string }?,
73     attribute tmp_file { xsd:string }?
74   }?,
75   element mp:log {
76     attribute apdu { xsd:boolean }?
77   }?,
78   element mp:zoom {
79     attribute timeout { xsd:integer }?,
80     attribute proxy_timeout { xsd:integer }?
81   }?
82
83
84