-# 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/
+# Metaproxy XML config file schema
namespace mp = "http://indexdata.com/metaproxy"
attribute type { "http_file" },
attribute id { xsd:NCName }?,
attribute name { xsd:NCName }?,
- element mp:mimetypes { xsd:string },
+ element mp:mimetypes { xsd:string }?,
element mp:area {
element mp:documentroot { xsd:string },
- element mp:prefix { xsd:string }
- }
+ element mp:prefix { xsd:string },
+ element mp:raw { xsd:boolean }?,
+ element mp:passthru { xsd:boolean }?
+ }*