From 3798e8c5c0544ce62ab2c8751ddb21bbd4726d1c Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Fri, 8 Apr 2011 13:29:12 -0400 Subject: A number of schema changes/fixes/updates: * altsrc attr is not allowed on Service and Action tags * Removed duplicate definition of PackageType, fixed required attrs * Removed deprecated tags in BoundPackage Instances * Added Genshi schema, made Genshi bundles validate * Use builtin xs:boolean type where possible --- schemas/atom.xsd | 8 +++-- schemas/bundle.xsd | 52 +++++++++++++++++++-------- schemas/genshi.xsd | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++ schemas/metadata.xsd | 12 ++----- schemas/pathentry.xsd | 9 +++-- schemas/pkgtype.xsd | 28 +++++++-------- schemas/rules.xsd | 73 ++++++++++++++------------------------ 7 files changed, 190 insertions(+), 89 deletions(-) create mode 100644 schemas/genshi.xsd diff --git a/schemas/atom.xsd b/schemas/atom.xsd index e25262b45..e1931439e 100644 --- a/schemas/atom.xsd +++ b/schemas/atom.xsd @@ -1,4 +1,5 @@ - + @@ -7,10 +8,13 @@ + + - + diff --git a/schemas/bundle.xsd b/schemas/bundle.xsd index bf72915d8..1ea44c991 100644 --- a/schemas/bundle.xsd +++ b/schemas/bundle.xsd @@ -1,4 +1,5 @@ - + @@ -7,6 +8,11 @@ + + + @@ -87,6 +93,13 @@ + + + + + + + @@ -102,23 +115,24 @@ + - - - A bundle describes a group of inter-dependent configuration - entries, such as the combination of packages, configuration - files, and service activations that comprise typical Unix - daemons. Bundles are used to add groups of configuration - entries to the inventory of client configurations, as - opposed to describing particular versions of those - entries. For example, a bundle could say that the - configuration file ``/etc/passwd`` should be included in a - configuration, but will not describe the particular version - of ``/etc/passwd`` that a given client will receive. - - + + + A bundle describes a group of inter-dependent configuration + entries, such as the combination of packages, configuration + files, and service activations that comprise typical Unix + daemons. Bundles are used to add groups of configuration + entries to the inventory of client configurations, as opposed + to describing particular versions of those entries. For + example, a bundle could say that the configuration file + ``/etc/passwd`` should be included in a configuration, but + will not describe the particular version of ``/etc/passwd`` + that a given client will receive. + + @@ -193,12 +207,20 @@ + + + + + + + + diff --git a/schemas/genshi.xsd b/schemas/genshi.xsd new file mode 100644 index 000000000..853b69c0d --- /dev/null +++ b/schemas/genshi.xsd @@ -0,0 +1,97 @@ + + + + + Genshi schema + Chris St. Pierre + $Id$ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemas/metadata.xsd b/schemas/metadata.xsd index 1c2474eac..7d07c4971 100644 --- a/schemas/metadata.xsd +++ b/schemas/metadata.xsd @@ -11,12 +11,6 @@ - - - - - - @@ -30,9 +24,9 @@ - - - + + + diff --git a/schemas/pathentry.xsd b/schemas/pathentry.xsd index e3bdeddc6..0c27f9112 100644 --- a/schemas/pathentry.xsd +++ b/schemas/pathentry.xsd @@ -1,4 +1,5 @@ - + @@ -8,9 +9,13 @@ + + + @@ -21,6 +26,6 @@ - + diff --git a/schemas/pkgtype.xsd b/schemas/pkgtype.xsd index 4756f0ecd..ad63cd9d2 100644 --- a/schemas/pkgtype.xsd +++ b/schemas/pkgtype.xsd @@ -1,4 +1,5 @@ - + @@ -9,23 +10,13 @@ + - - - - - - - - - - - - @@ -36,10 +27,18 @@ + + + + + + + + - + @@ -51,5 +50,6 @@ + diff --git a/schemas/rules.xsd b/schemas/rules.xsd index 80036834a..bc8a4af80 100644 --- a/schemas/rules.xsd +++ b/schemas/rules.xsd @@ -1,5 +1,6 @@ - - + + string enumeration definitions for bcfg2 @@ -10,49 +11,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -60,6 +21,7 @@ + @@ -74,19 +36,28 @@ + - + + + + + + + + - + + @@ -99,8 +70,16 @@ + + + + + + + + -- cgit v1.2.3-1-g7c22