mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
Put network.rng contents inside <grammar> for uniformity with other RNGs
All the other RNG files in libvirt are enclosed within <grammar>. 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.
This commit is contained in:
parent
29318e177a
commit
3d10d3489b
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user