rng: Update for type attribute in Archive tag

It is now optional and accepts more types.
This commit is contained in:
Fatih Aşıcı
2010-10-18 11:44:45 +00:00
parent bae04cc602
commit d03a06ca52
+20 -11
View File
@@ -1307,17 +1307,26 @@
<define name="attlist.Archive" combine="interleave"> <define name="attlist.Archive" combine="interleave">
<group> <group>
<attribute name="sha1sum"/> <attribute name="sha1sum"/>
<attribute name="type"> <optional>
<choice> <attribute name="type">
<value>targz</value> <choice>
<value>tarbz2</value> <value>targz</value>
<value>tarlzma</value> <value>tarbz2</value>
<value>tar</value> <value>tarlzma</value>
<value>zip</value> <value>tarxz</value>
<value>gzip</value> <value>tarZ</value>
<value>binary</value> <value>tar</value>
</choice> <value>zip</value>
</attribute> <value>gz</value>
<value>gzip</value>
<value>bz2</value>
<value>bzip2</value>
<value>lzma</value>
<value>xz</value>
<value>binary</value>
</choice>
</attribute>
</optional>
<optional> <optional>
<attribute name="target"/> <attribute name="target"/>
</optional> </optional>