diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2009-10-10 11:02:26 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2009-10-10 11:02:26 +0200 |
commit | 37360b52adf48277be7a1c19ef6a8be828b3d59b (patch) | |
tree | e6d7cd3446604f03aec099f79a55dbae54973e66 /schema | |
parent | Make repositories.xsl add a doctype (diff) | |
download | repositories-xml-format-37360b52adf48277be7a1c19ef6a8be828b3d59b.tar.gz repositories-xml-format-37360b52adf48277be7a1c19ef6a8be828b3d59b.tar.bz2 repositories-xml-format-37360b52adf48277be7a1c19ef6a8be828b3d59b.zip |
Integrate default values into layman-global.dtd
Diffstat (limited to 'schema')
-rw-r--r-- | schema/layman-global.dtd | 4 | ||||
-rw-r--r-- | schema/layman-global.rng | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/schema/layman-global.dtd b/schema/layman-global.dtd index 9c04053..a7ffcea 100644 --- a/schema/layman-global.dtd +++ b/schema/layman-global.dtd @@ -13,9 +13,9 @@ xmlns CDATA #FIXED '' contact CDATA #REQUIRED name CDATA #REQUIRED - priority CDATA #IMPLIED + priority CDATA '50' src CDATA #REQUIRED - status (official|unofficial) #IMPLIED + status (official|unofficial) 'unofficial' type (bzr|darcs|git|mercurial|rsync|svn|tar) #REQUIRED> <!ELEMENT link (#PCDATA)> diff --git a/schema/layman-global.rng b/schema/layman-global.rng index 0bfab3d..52172a9 100644 --- a/schema/layman-global.rng +++ b/schema/layman-global.rng @@ -6,6 +6,7 @@ Distributed under the terms of the GNU General Public License v2 or later --> <grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0" + xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> <start> <element name="layman"> @@ -18,7 +19,7 @@ <text/> </attribute> <optional> - <attribute name="priority"> + <attribute name="priority" a:defaultValue="50"> <data type="integer"/> </attribute> </optional> @@ -26,7 +27,7 @@ <data type="anyURI"/> </attribute> <optional> - <attribute name="status"> + <attribute name="status" a:defaultValue="unofficial"> <choice> <value>official</value> <value>unofficial</value> |