changed config file root element from <yp2 ... > to
[metaproxy-moved-to-github.git] / xml / schema / metaproxy.rnc
index cea817e..0394549 100644 (file)
@@ -1,5 +1,5 @@
 # Metaproxy XML config file schemas
-#  $Id: metaproxy.rnc,v 1.6 2006-11-17 14:03:47 adam Exp $
+#  $Id: metaproxy.rnc,v 1.7 2006-11-29 13:00:54 marc Exp $
 # 
 #   Copyright (c) 2005-2006, Index Data.
 # 
 # For information on RelaxNG see http://relaxng.org 
 # see also http://books.xmlschemata.org/relaxng/
 
-default namespace = "http://indexdata.dk/yp2/config/1"
+default namespace = "http://indexdata.com/metaproxy"
 
 start = metaproxy
 
 metaproxy =
-  element yp2 {
+  element metaproxy {
+    attribute version { xsd:float },
     element start {
-      attribute route { xsd:NCName }
+            attribute route { xsd:NCName }
     },
     element filters { filter+ }?,
     element routes { route+ }