From: Philipp Hahn Date: Tue, 26 Feb 2013 08:14:20 +0000 (+0100) Subject: schema: Restrict mode to octal X-Git-Tag: v1.0.3-rc2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=141deb9feb1a11bae804deed5434cdd75e3582a2;p=thirdparty%2Flibvirt.git schema: Restrict mode to octal virStrToLong(..., 8, ...) already requires the mode to be octal. Change the relax-ng schema to check for octal as well. Signed-off-by: Philipp Hahn --- diff --git a/docs/schemas/basictypes.rng b/docs/schemas/basictypes.rng index ec1d940218..e6cf90753e 100644 --- a/docs/schemas/basictypes.rng +++ b/docs/schemas/basictypes.rng @@ -20,6 +20,12 @@ + + + [0-7]+ + + + diff --git a/docs/schemas/storagepool.rng b/docs/schemas/storagepool.rng index 165e27643f..2b1f08dd5e 100644 --- a/docs/schemas/storagepool.rng +++ b/docs/schemas/storagepool.rng @@ -175,7 +175,7 @@ - + diff --git a/docs/schemas/storagevol.rng b/docs/schemas/storagevol.rng index 10b7847ebf..d4a29c7f3a 100644 --- a/docs/schemas/storagevol.rng +++ b/docs/schemas/storagevol.rng @@ -46,7 +46,7 @@ - +