File: validate_many-errors-desktopapp.xml

package info (click to toggle)
appstream 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,408 kB
  • sloc: ansic: 51,906; xml: 10,459; cpp: 4,721; python: 538; sh: 260; makefile: 24
file content (52 lines) | stat: -rw-r--r-- 1,661 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>

<!-- NOTE: This file is part of AppStream's testsuite, and is supposed
to contain a lot of issues for the validator to catch -->

<component type="desktop-application">
  <id>invalid.7-bad-ID.app</id>
  <metadata_license>GPL-2.0+</metadata_license>
  <project_license>weird</project_license>

  <name>A name.</name>
  <summary>Too short, ends with dot.</summary>

  <description>
    <p>
      Have some <b>invalid</b> markup as well as some <code>valid</code> one.
    </p>
  </description>

  <url type="homepage">not a link</url>
  <url type="help">http://www.example.org/insecure-url</url>
  <url type="homepage">https://this-url-is-redefined.tld</url>

  <project_group>Unregistered</project_group>

  <releases>
    <release version="1.2" date="2014-04-12" urgency="superduperhigh">
      <description>
        <p>This stable release fixes bugs.</p>
      </description>

      <url>not an URL</url>
      <issues>
        <issue type="cve">hmm...</issue>
        <issue url="https://example.org">bug-77</issue>
      </issues>

      <artifacts>
        <artifact type="binary" platform="x86_64-lunix-gn">
          <location>https://example.com/mytarball.bin.tar.xz</location>
          <checksum type="sha256">....</checksum>
          <checksum type="blake3">....</checksum>
          <size type="download">12345678</size>
          <size type="installed">42424242</size>
          <filename>/root/file.dat</filename>
        </artifact>
      </artifacts>
    </release>
    <release version="1.1" type="unstable" date="2013-10-20" />
    <release version="1.0" date="2012-08-26" />
  </releases>
</component>