From: Peter Krempa Date: Tue, 6 Mar 2012 14:08:02 +0000 (+0100) Subject: xml: Clean up schemas to use shared data types instead of local X-Git-Tag: v0.9.11-rc1~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdab483e92d4510a98cfe45989392e2c3224ab8d;p=thirdparty%2Flibvirt.git xml: Clean up schemas to use shared data types instead of local The schema files contained duplicate data types that can be shared from the basictypes.rng file. --- diff --git a/docs/schemas/capability.rng b/docs/schemas/capability.rng index 3af95e92b1..06ff685848 100644 --- a/docs/schemas/capability.rng +++ b/docs/schemas/capability.rng @@ -1,6 +1,7 @@ + @@ -157,7 +158,7 @@ - + @@ -169,13 +170,13 @@ - + - + @@ -188,7 +189,7 @@ - + @@ -238,13 +239,13 @@ - + - + @@ -367,39 +368,9 @@ - - - - [0-9]+ - - - - - - [0-9]+ - - - - - - /[a-zA-Z0-9_\+\-/%]+ - - - [a-zA-Z0-9\-_]+ - - - - - [a-fA-F0-9]{32} - - - [a-fA-F0-9]{8}\-([a-fA-F0-9]{4}\-){3}[a-fA-F0-9]{12} - - - diff --git a/docs/schemas/interface.rng b/docs/schemas/interface.rng index 53fa18a00f..3984b630a2 100644 --- a/docs/schemas/interface.rng +++ b/docs/schemas/interface.rng @@ -183,12 +183,12 @@ - + - + - + @@ -203,7 +203,7 @@ - + @@ -252,7 +252,7 @@ - + @@ -407,12 +407,6 @@ - - - [0-9]+ - - - 0 diff --git a/docs/schemas/nodedev.rng b/docs/schemas/nodedev.rng index 1b9a2d1226..a73c2e5af3 100644 --- a/docs/schemas/nodedev.rng +++ b/docs/schemas/nodedev.rng @@ -1,6 +1,7 @@ + @@ -56,7 +57,7 @@ - + @@ -80,16 +81,16 @@ - + - + - + - + @@ -122,10 +123,10 @@ - + - + @@ -157,16 +158,16 @@ - + - + - + - + @@ -252,7 +253,7 @@ - + @@ -273,16 +274,16 @@ - + - + - + - + @@ -352,7 +353,7 @@ - + @@ -364,27 +365,10 @@ - + - - - - [a-fA-F0-9]{32} - - - [a-fA-F0-9]{8}\-([a-fA-F0-9]{4}\-){3}[a-fA-F0-9]{12} - - - - - - - [0-9]+ - - - (0x)?[0-9a-f]+ diff --git a/docs/schemas/nwfilter.rng b/docs/schemas/nwfilter.rng index bce3d3b838..13fd9b95f0 100644 --- a/docs/schemas/nwfilter.rng +++ b/docs/schemas/nwfilter.rng @@ -1,5 +1,6 @@ + @@ -799,18 +800,6 @@ - - - - [a-fA-F0-9]{32} - - - - [a-fA-F0-9]{8}\-([a-fA-F0-9]{4}\-){3}[a-fA-F0-9]{12} - - - - $[a-zA-Z0-9_]+(\[[ ]*[@]?[0-9]+[ ]*\])? @@ -930,21 +919,6 @@ - - - - - - 0x[0-9a-fA-F]{1,2} - - - - 0 - 255 - - - -