aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xml-test/missing-attributes/metadata.xml23
-rw-r--r--xml-test/missing-attributes/missing-attributes-0.1.ebuild13
2 files changed, 36 insertions, 0 deletions
diff --git a/xml-test/missing-attributes/metadata.xml b/xml-test/missing-attributes/metadata.xml
new file mode 100644
index 0000000..cf51afd
--- /dev/null
+++ b/xml-test/missing-attributes/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- Missing attribute "type" -->
+ <maintainer>
+ <email>foodev@gentoo.org</email>
+ </maintainer>
+ <slots>
+ <!-- Missing attribute "name" -->
+ <slot>Bar slot</slot>
+ </slots>
+ <use>
+ <!-- Missing attribute "name" -->
+ <flag>Baz flag</flag>
+ </use>
+ <upstream>
+ <!-- Missing attribute "type" -->
+ <remote-id>gentoo/gen-b0rk</remote-id>
+ </upstream>
+ <longdescription>
+ Tests for mandatory attributes for various tags
+ </longdescription>
+</pkgmetadata>
diff --git a/xml-test/missing-attributes/missing-attributes-0.1.ebuild b/xml-test/missing-attributes/missing-attributes-0.1.ebuild
new file mode 100644
index 0000000..5733009
--- /dev/null
+++ b/xml-test/missing-attributes/missing-attributes-0.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Missing various mandatory attributes in the metadata"
+HOMEPAGE="https://wiki.gentoo.org/wiki/GLEP:68"
+SRC_URI=""
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="~amd64"