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

Re: [libvirt] [PATCH 1/3] Put network.rng contents inside <grammer> for uniformity with other RNGs

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

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";
+<ref name="network"/>
+<define name="network">
+<element name="network">

    <!-- The name of the network, used to refer to it through the API
@@ -119,3 +126,5 @@


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