[virt-tools-list] [[libosinfo][PATCH] 1/5] RNG: Allow product-attr and product-content to interleave

Michal Privoznik mprivozn at redhat.com
Mon Sep 17 15:12:31 UTC 2012


---
 AUTHORS                    |    1 +
 data/schemas/libosinfo.rng |    8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index 7f4b1b6..4f36edf 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -17,6 +17,7 @@ Patches contributed by:
   Jim Meyering <meyering at redhat.com>
   Fabiano Fidêncio <fabiano at fidencio.org>
   Wanlong Gao <gaowanlong at cn.fujitsu.com>
+  Michal Privoznik <mprivozn at redhat.com>
   ...send patches to get your name here...
 
 -- End
diff --git a/data/schemas/libosinfo.rng b/data/schemas/libosinfo.rng
index 1392f74..e9fe643 100644
--- a/data/schemas/libosinfo.rng
+++ b/data/schemas/libosinfo.rng
@@ -358,9 +358,9 @@
 
   <define name='os'>
     <element name='os'>
-      <ref name='product-attr'/>
-      <ref name='product-content'/>
       <interleave>
+        <ref name='product-attr'/>
+        <ref name='product-content'/>
         <ref name='product-dates'/>
         <ref name='product-rel'/>
         <optional>
@@ -384,9 +384,9 @@
 
   <define name='platform'>
     <element name='platform'>
-      <ref name='product-attr'/>
-      <ref name='product-content'/>
       <interleave>
+        <ref name='product-attr'/>
+        <ref name='product-content'/>
         <ref name='product-dates'/>
         <ref name='product-rel'/>
         <optional>
-- 
1.7.8.6




More information about the virt-tools-list mailing list