[libvirt] [PATCH 1/6] eng: Remove the duplicate definition

Osier Yang jyang at redhat.com
Wed Jan 23 11:04:33 UTC 2013


The RE for data type "name" storagepool.rng uses is same with
"genericName" in basictypes.rng.
---
 docs/schemas/storagepool.rng |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/docs/schemas/storagepool.rng b/docs/schemas/storagepool.rng
index 983f664..165e276 100644
--- a/docs/schemas/storagepool.rng
+++ b/docs/schemas/storagepool.rng
@@ -144,7 +144,7 @@
 
   <define name='commonmetadata'>
     <element name='name'>
-      <ref name='name'/>
+      <ref name='genericName'/>
     </element>
     <optional>
       <element name='uuid'>
@@ -230,7 +230,7 @@
       <attribute name='path'>
         <choice>
           <ref name='absFilePath'/>
-          <ref name='name'/>
+          <ref name='genericName'/>
         </choice>
       </attribute>
       <choice>
@@ -519,12 +519,6 @@
     </element>
   </define>
 
-  <define name='name'>
-    <data type='string'>
-      <param name="pattern">[a-zA-Z0-9_\+\-]+</param>
-    </data>
-  </define>
-
   <define name="PortNumber">
     <data type="short">
       <param name="minInclusive">-1</param>
-- 
1.7.7.6




More information about the libvir-list mailing list