Fix Metaproxy stops logging after check config failed MP-590
[metaproxy-moved-to-github.git] / xml / schema / filter_frontend_net.rnc
index f7fc90c..2ab4300 100644 (file)
@@ -1,22 +1,4 @@
 # Metaproxy XML config file schemas
-# 
-#   Copyright (C) 2005-2011 Index Data.
-# 
-#   See the LICENSE file for details
-# 
-# 
-# The RelaxNG Compact Syntax file 'metaproxy.rnc' is the master copy.
-# 
-# The RelaxNG XML Syntax and XML Schema are generated using 'trang':
-# trang metaproxy.rnc metaproxy.rng 
-# trang metaproxy.rnc metaproxy.xsd 
-# 
-# Config file validation is done using 'xmllint':
-# xmllint -/-relaxng metaproxy.rng ../../../etc/config1.xml 
-# xmllint -/-schema metaproxy.xsd config-bytarget.xml
-# 
-# For information on RelaxNG see http://relaxng.org 
-# see also http://books.xmlschemata.org/relaxng/
 
 namespace mp = "http://indexdata.com/metaproxy"
 
@@ -25,7 +7,16 @@ filter_frontend_net =
   attribute id { xsd:NCName }?,
   attribute name { xsd:NCName }?,
   element mp:threads { xsd:integer }?,
-  element mp:port { xsd:string }+,
+  element mp:port {
+    attribute route { xsd:NCName }?,
+    attribute max_recv_bytes { xsd:integer }?,
+    attribute port { xsd:integer }?,
+    attribute cert_fname { xsd:string }?,
+   xsd:string
+  }+,
   element mp:timeout { xsd:integer }?,
-  element mp:connect-max { xsd:integer }?
+  element mp:connect-max { xsd:integer }?,
+  element mp:message { xsd:string }?,
+  element mp:stat-req { xsd:string }?
+