Change the format to use <labels> and <label> to match the actual field names better.

This commit is contained in:
Thomas Keller 2011-11-03 00:59:39 +01:00
parent c71ed2cecb
commit c39f5c2174

View File

@ -49,18 +49,18 @@ at an example, here you have one:
&lt;name>foo-1.2.tar.gz&lt;/name> &lt;name>foo-1.2.tar.gz&lt;/name>
&lt;summary>Tarball&lt;/summary> &lt;summary>Tarball&lt;/summary>
&lt;replaces>foo-1.1.tar.gz&lt;/replaces> &lt;replaces>foo-1.1.tar.gz&lt;/replaces>
&lt;tags> &lt;labels>
&lt;tag>Type:Archive&lt;/tag> &lt;label>Type:Archive&lt;/label>
&lt;/tags> &lt;/labels>
&lt;/file> &lt;/file>
&lt;file> &lt;file>
&lt;name>foo-1.2-installer.exe&lt;/name> &lt;name>foo-1.2-installer.exe&lt;/name>
&lt;summary>Windows MSI Installer&lt;/summary> &lt;summary>Windows MSI Installer&lt;/summary>
&lt;description>This installer needs Windows XP SP2 or later.&lt;/description> &lt;description>This installer needs Windows XP SP2 or later.&lt;/description>
&lt;tags> &lt;labels>
&lt;tag>Type:Installer&lt;/tag> &lt;label>Type:Installer&lt;/label>
&lt;tag>OpSys:Windows&lt;/tag> &lt;label>OpSys:Windows&lt;/label>
&lt;/tags> &lt;/labels>
&lt;/file> &lt;/file>
&lt;/manifest> &lt;/manifest>
</pre> </pre>
@ -77,8 +77,8 @@ This is the DTD for the format:
&lt;!ELEMENT summary (#PCDATA)> &lt;!ELEMENT summary (#PCDATA)>
&lt;!ELEMENT replaces (#PCDATA)> &lt;!ELEMENT replaces (#PCDATA)>
&lt;!ELEMENT description (#PCDATA)> &lt;!ELEMENT description (#PCDATA)>
&lt;!ELEMENT tags (tag+)> &lt;!ELEMENT labels (label+)>
&lt;!ELEMENT tag (#PCDATA)> &lt;!ELEMENT label (#PCDATA)>
]> ]>
</pre> </pre>