fixing relaxng-to-xmlschema translation error by new namespace for retirevalinfo
[metaproxy-moved-to-github.git] / xml / schema / retrievalinfo.rnc
index 023fe8a..7af944d 100644 (file)
@@ -1,5 +1,5 @@
 # Metaproxy XML config file schemas
-#  $Id: retrievalinfo.rnc,v 1.1 2006-11-29 14:49:20 marc Exp $
+#  $Id: retrievalinfo.rnc,v 1.3 2006-11-30 23:10:26 marc Exp $
 # 
 #   Copyright (c) 2005-2006, Index Data.
 # 
 # For information on RelaxNG see http://relaxng.org 
 # see also http://books.xmlschemata.org/relaxng/
 
-#namespace y = "http://indexdata.com/yaz"
-namespace y = "http://indexdata.com/metaproxy"
+namespace y = "http://indexdata.com/yaz"
+# need to be in different namespace then metaproxy, otherwise 
+# xslt element definition clashes in XML Schema files
+# namespace y = "http://indexdata.com/metaproxy"
 
-#start = retrievalinfo
+start |= retrievalinfo
 
 retrievalinfo = 
   element y:retrievalinfo { 
+    attribute version { "1.0" },
     element y:retrieval {
       attribute syntax { xsd:string },
       attribute name { xsd:string }?,