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

Stefan Berger stefanb at linux.vnet.ibm.com
Thu Oct 27 11:23:36 UTC 2011


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




More information about the libvir-list mailing list