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">
<group>
<attribute name="sha1sum"/>
<attribute name="type">
<choice>
<value>targz</value>
<value>tarbz2</value>
<value>tarlzma</value>
<value>tar</value>
<value>zip</value>
<value>gzip</value>
<value>binary</value>
</choice>
</attribute>
<optional>
<attribute name="type">
<choice>
<value>targz</value>
<value>tarbz2</value>
<value>tarlzma</value>
<value>tarxz</value>
<value>tarZ</value>
<value>tar</value>
<value>zip</value>
<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>
<attribute name="target"/>
</optional>