Re: [PATCH V3 3/4] Extend NWFilter parameter parser to cope with lists of values

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

 



On 10/27/2011 06:09 AM, Daniel P. Berrange wrote:
On Mon, Oct 24, 2011 at 12:07:29PM -0400, Stefan Berger wrote:
Index: libvirt-acl/docs/schemas/nwfilter.rng
===================================================================
--- libvirt-acl.orig/docs/schemas/nwfilter.rng
+++ libvirt-acl/docs/schemas/nwfilter.rng
@@ -313,14 +313,16 @@
        <data type="NCName"/>
      </attribute>
      <optional>
-<element name="parameter">
-<attribute name="name">
-<ref name="filter-param-name"/>
-</attribute>
-<attribute name="value">
-<ref name="filter-param-value"/>
-</attribute>
-</element>
+<zeroOrMore>
+<element name="parameter">
+<attribute name="name">
+<ref name="filter-param-name"/>
+</attribute>
+<attribute name="value">
+<ref name="filter-param-value"/>
+</attribute>
+</element>
+</zeroOrMore>
      </optional>
    </define>
Since you have<zeroOrMore>  I think you can remove the parent<optional>
element now
Fixed.
   Stefan

--
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]