aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@binghamton.edu>2016-05-04 01:57:19 -0400
committerBrian Dolbec <dolsen@gentoo.org>2016-05-03 23:00:11 -0700
commit4663638ac491c70cd7055f27856b9f97281b6845 (patch)
tree40bc8f38638534cb9c448c9fc2c680d43f142247
parentxml-test/missing-attributes: missing mandatory attributes for various tags (diff)
downloadgen-b0rk-4663638ac491c70cd7055f27856b9f97281b6845.tar.gz
gen-b0rk-4663638ac491c70cd7055f27856b9f97281b6845.tar.bz2
gen-b0rk-4663638ac491c70cd7055f27856b9f97281b6845.zip
xml-text/missing-doctype: test for missing DOCTYPE in metadata.xml
Signed-off-by: Göktürk Yüksek <gokturk@binghamton.edu>
-rw-r--r--xml-test/missing-doctype/metadata.xml5
-rw-r--r--xml-test/missing-doctype/missing-doctype-0.1.ebuild10
2 files changed, 15 insertions, 0 deletions
diff --git a/xml-test/missing-doctype/metadata.xml b/xml-test/missing-doctype/metadata.xml
new file mode 100644
index 0000000..f70816e
--- /dev/null
+++ b/xml-test/missing-doctype/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -->
+<pkgmetadata>
+<longdescription>Test for missing DOCTYPE</longdescription>
+</pkgmetadata>
diff --git a/xml-test/missing-doctype/missing-doctype-0.1.ebuild b/xml-test/missing-doctype/missing-doctype-0.1.ebuild
new file mode 100644
index 0000000..eea16bc
--- /dev/null
+++ b/xml-test/missing-doctype/missing-doctype-0.1.ebuild
@@ -0,0 +1,10 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Metadata with missing DOCTYPE"
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="~amd64"