diff options
author | unammx <unammx> | 2001-09-14 08:34:35 +0000 |
---|---|---|
committer | unammx <unammx> | 2001-09-14 08:34:35 +0000 |
commit | a56e0a0437d8079507fa4bc323df73609cf860b0 (patch) | |
tree | 76b028cf9058d360b39e160b2bef59dd2cbcbe58 /doc | |
parent | 6042bf4ac04663d64aba78bedc441743313d7bb7 (diff) |
Tue Sep 11 23:40:14 2001 Arturo Espinosa Aldama <arturo@ximian.com>
* sysv.xsd: A schema for the SystemV configurator.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/xsd/ChangeLog | 4 | ||||
-rw-r--r-- | doc/xsd/internetsharing.xsd | 2 | ||||
-rw-r--r-- | doc/xsd/sysv.xsd | 53 |
3 files changed, 58 insertions, 1 deletions
diff --git a/doc/xsd/ChangeLog b/doc/xsd/ChangeLog index 694ab92..d8f6cac 100644 --- a/doc/xsd/ChangeLog +++ b/doc/xsd/ChangeLog @@ -1,3 +1,7 @@ +Tue Sep 11 23:40:14 2001 Arturo Espinosa Aldama <arturo@ximian.com> + + * sysv.xsd: A schema for the SystemV configurator. + 2001-08-30 Arturo Espinosa Aldama <arturo@ximian.com> * internetsharing.xsd: Changed minOccurs of fwrules and dhcp diff --git a/doc/xsd/internetsharing.xsd b/doc/xsd/internetsharing.xsd index a13ef48..166e576 100644 --- a/doc/xsd/internetsharing.xsd +++ b/doc/xsd/internetsharing.xsd @@ -22,7 +22,7 @@ <!-- Include the network-specific types. --> <include schemaLocation="networktypes.xsd"/> - <element type="internetsharingType" name="internetsharing"> + <element type="internetsharingType" name="internetsharing"/> <complexType name="internetsharingType"> <sequence> diff --git a/doc/xsd/sysv.xsd b/doc/xsd/sysv.xsd new file mode 100644 index 0000000..0068abb --- /dev/null +++ b/doc/xsd/sysv.xsd @@ -0,0 +1,53 @@ +<?xml version="1.0"?> +<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en"> + + <annotation> + <documentation> + + SystemV init script configurator XML format for the ximian-setup-tool backends. + + Copyright (C) 2001 Ximian, Inc. + + Authors: Arturo Espinosa [arturo@ximian.com] + + This is intended mainly as a means for documentation, not validation, + but I hope to be able to validate the XML we get and return to + backends with these files some day. + </documentation> + </annotation> + + <!-- Include file with useful types and stuff --> + <include schemaLocation="xst.xsd"/> + + <element type="sysvType" name="sysv"/> + + <complexType name="sysType"> + <sequence> + <element type="runlevelType" name="runlevel" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + </complexType> + + <complexType name="runlevelType"> + <sequence> + <element type="string" name="level"/> + <element type="serviceType" name="service" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + </complexType> + + <complexType name="serviceType"> + <sequence> + <element type="actionType" name="action"/> + <element type="string" name="name"/> + <element type="integer" name="priority"/> + </sequence> + </complexType> + + <simpleType name="actionType"> + <restriction base="string"> + <enumeration value="start"/> + <enumeration value="kill"/> + </restriction> + </simpleType> + +</schema> +
\ No newline at end of file |