Schema: change type of @database for virt_db
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 22 Dec 2009 11:27:00 +0000 (12:27 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 22 Dec 2009 11:27:00 +0000 (12:27 +0100)
The attribute type is now xsd:string rather than xsd:NCName because
the database is really a glob-mask.

xml/schema/metaproxy.rnc
xml/schema/metaproxy.rng
xml/schema/metaproxy.xsd

index 8711820..23ab379 100644 (file)
@@ -189,7 +189,7 @@ filter_virt_db =
   element mp:pass-vhosts { xsd:boolean }?,
   element mp:virtual {
     attribute route { xsd:NCName }?,
-    element mp:database { xsd:NCName },
+    element mp:database { xsd:string },
     element mp:target { xsd:string }+
   }+
 
index 4f59d79..8530e45 100644 (file)
           </attribute>
         </optional>
         <element name="mp:database">
-          <data type="NCName"/>
+          <data type="string"/>
         </element>
         <oneOrMore>
           <element name="mp:target">
index 7fbd314..29d0875 100644 (file)
   <xs:element name="virtual">
     <xs:complexType>
       <xs:sequence>
-        <xs:element name="database" type="xs:NCName"/>
+        <xs:element name="database" type="xs:string"/>
         <xs:element maxOccurs="unbounded" name="target" type="xs:string"/>
       </xs:sequence>
       <xs:attribute name="route" type="xs:NCName"/>