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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]