[libvirt] [PATCH 1/3] Put network.rng contents inside <grammer> for uniformity with other RNGs
Laine Stump
laine at laine.org
Fri Nov 12 08:00:00 UTC 2010
On 11/11/2010 03:56 PM, Stefan Berger wrote:
> On 11/11/2010 03:41 PM, Laine Stump wrote:
>> All the other RNG files in libvirt are enclosed within<grammer>. This
>> commit makes the syntactical changes necessary to make network.rng fit
>> that pattern. (This is the first step in adding some data type
>> definitions to network.rng for more exact validation of IP and MAC
>> addresses).
>>
>> Formatting changes (indentation) will be done in a subsequent commit,
>> so that actual changes to the code won't be obscured by whitespace.
>> ---
>> docs/schemas/network.rng | 11 ++++++++++-
>> 1 files changed, 10 insertions(+), 1 deletions(-)
>>
>> diff --git a/docs/schemas/network.rng b/docs/schemas/network.rng
>> index 33994bc..d898b77 100644
>> --- a/docs/schemas/network.rng
>> +++ b/docs/schemas/network.rng
>> @@ -1,6 +1,13 @@
>> <!-- A Relax NG schema for the libvirt network XML format -->
>> -<element name="network" xmlns="http://relaxng.org/ns/structure/1.0"
>> +<grammar xmlns="http://relaxng.org/ns/structure/1.0"
>> datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
>> +<start>
>> +<ref name="network"/>
>> +</start>
>> +
>> +<define name="network">
>> +
>> +<element name="network">
>> <interleave>
>>
>> <!-- The name of the network, used to refer to it through the API
>> @@ -119,3 +126,5 @@
>> </optional>
>> </interleave>
>> </element>
>> +</define>
>> +</grammar>
> ACK.
>
> Stefan
>
>
Pushed, after fixing the typo in the commit message pointed out by Dave.
Thanks!
More information about the libvir-list
mailing list