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

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



---
 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 redhat com>
   Fabiano FidĂȘncio <fabiano fidencio org>
   Wanlong Gao <gaowanlong cn fujitsu com>
+  Michal Privoznik <mprivozn 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


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