From a66356e0d97e18f567a1fcc14e037fa190916463 Mon Sep 17 00:00:00 2001 From: Daniel Martin Date: Fri, 22 Nov 2013 23:26:54 +0100 Subject: [PATCH] schema: Restricted enum item values Restrict decimal values by using an xsd:unsignedInt instead of an xsd:integer. xsd:unsignedInt is an unsigned 32-bit integer. And restrict bit values by adding a type, which allows values within the range of [0, 32) only. Signed-off-by: Daniel Martin --- src/xcb.xsd | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/xcb.xsd b/src/xcb.xsd index 77a696f..59bb9a8 100644 --- a/src/xcb.xsd +++ b/src/xcb.xsd @@ -163,7 +163,7 @@ authorization from the authors. - + @@ -224,6 +224,14 @@ authorization from the authors. + + + + + + + + @@ -352,8 +360,8 @@ authorization from the authors. - - + + -- 2.34.1