Filter frontend_net honors connect-max
[metaproxy-moved-to-github.git] / xml / schema / metaproxy.rnc
index 509a00e..440a4ea 100644 (file)
@@ -1,7 +1,6 @@
 # Metaproxy XML config file schemas
-#  $Id: metaproxy.rnc,v 1.22 2008-02-27 11:08:50 adam Exp $
 # 
-#   Copyright (c) 2005-2008, Index Data.
+#   Copyright (c) 2005-2008 Index Data.
 # 
 #   See the LICENSE file for details
 # 
@@ -31,6 +30,7 @@ any = (text | element * { attribute * { text }*, any })*
 metaproxy =
   element mp:metaproxy {
     attribute version { "1.0" },
+    element mp:dlpath { xsd:string }?,
     element mp:start {
             attribute route { xsd:NCName }
     },
@@ -62,6 +62,7 @@ filter =
     | filter_sru_z3950
     | filter_virt_db
     | filter_z3950_client
+    | filter_limit
 #    | filter_zeerex_explain
   }
 
@@ -99,7 +100,8 @@ filter_frontend_net =
   attribute name { xsd:NCName }?,
   element mp:threads { xsd:integer }?,
   element mp:port { xsd:string }+,
-  element mp:timeout { xsd:integer }?
+  element mp:timeout { xsd:integer }?,
+  element mp:connect-max { xsd:integer }?
 
 filter_http_file =
   attribute type { "http_file" },
@@ -121,8 +123,8 @@ filter_log =
   attribute id { xsd:NCName }?,
   attribute name { xsd:NCName }?,
   element mp:message { xsd:string }?,
-  element mp:filename { xsd:string }?,
   element mp:time-format { xsd:string }?,
+  element mp:filename { xsd:string }?,
   element mp:category {
     attribute user-access { xsd:boolean }?,
     attribute access { xsd:boolean }?,
@@ -198,6 +200,15 @@ filter_z3950_client =
   element mp:default_target { xsd:string }?,
   element mp:force_target { xsd:string }?
 
+filter_limit =
+  attribute type { "limit" },
+  element mp:limit {
+    attribute bandwidth { xsd:integer }?,
+    attribute pdu { xsd:integer }?,
+    attribute search { xsd:integer }?,
+    attribute retrieve { xsd:integer }?
+  }?
+
 #filter_zeerex_explain =
 #  attribute type { "zeerex_explain" },
 #  attribute id { xsd:NCName }?,