diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2009-12-31 01:46:23 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2009-12-31 01:46:23 +0100 |
commit | 2eed448800138c6aea8b7beec24537ae48244ccd (patch) | |
tree | b301813f10789c394a2ce0d51987c94f9386d678 /schema | |
parent | Take dirmode into account (diff) | |
download | repositories-xml-format-2eed448800138c6aea8b7beec24537ae48244ccd.tar.gz repositories-xml-format-2eed448800138c6aea8b7beec24537ae48244ccd.tar.bz2 repositories-xml-format-2eed448800138c6aea8b7beec24537ae48244ccd.zip |
Add missing attributes "format", "subpath" and "category" to layman-global.txt spec
Diffstat (limited to 'schema')
-rw-r--r-- | schema/layman-global.dtd | 5 | ||||
-rw-r--r-- | schema/layman-global.rng | 18 |
2 files changed, 22 insertions, 1 deletions
diff --git a/schema/layman-global.dtd b/schema/layman-global.dtd index a7ffcea..dc608fc 100644 --- a/schema/layman-global.dtd +++ b/schema/layman-global.dtd @@ -16,7 +16,10 @@ priority CDATA '50' src CDATA #REQUIRED status (official|unofficial) 'unofficial' - type (bzr|darcs|git|mercurial|rsync|svn|tar) #REQUIRED> + type (bzr|darcs|git|mercurial|rsync|svn|tar) #REQUIRED + format (bz2|gz) #IMPLIED + subpath CDATA #IMPLIED + category CDATA #IMPLIED> <!ELEMENT link (#PCDATA)> <!ATTLIST link diff --git a/schema/layman-global.rng b/schema/layman-global.rng index 52172a9..215e30c 100644 --- a/schema/layman-global.rng +++ b/schema/layman-global.rng @@ -45,6 +45,24 @@ <value>tar</value> </choice> </attribute> + <optional> + <attribute name="format"> + <choice> + <value>bz2</value> + <value>gz</value> + </choice> + </attribute> + </optional> + <optional> + <attribute name="subpath"> + <text/> + </attribute> + </optional> + <optional> + <attribute name="category"> + <text/> + </attribute> + </optional> <interleave> <optional> <element name="link"> |