This is neither present in the XML schema nor mentioned in GLEP 68.

The pkgname attribute was added in 2003 together with the packages
element, "allowing for a combined view of all metadata files":
https://gitweb.gentoo.org/archive/proj/gentoo.git/commit/?id=b1eae649bb6b7ae623b66cb08d7496f042329f10

In commit 3bbce9c90e430387537c6fdc3d97c3647ed9c465, the package
element has already been removed.

Signed-off-by: Ulrich Müller <u...@gentoo.org>
---
 metadata.dtd | 2 --
 1 file changed, 2 deletions(-)

diff --git a/metadata.dtd b/metadata.dtd
index e1207de..c36242a 100644
--- a/metadata.dtd
+++ b/metadata.dtd
@@ -1,10 +1,8 @@
 <!-- Metadata for a category -->
 <!ELEMENT catmetadata ( (longdescription)* )>
-<!ATTLIST catmetadata pkgname CDATA "">
 
 <!-- Metadata for a package -->
 <!ELEMENT pkgmetadata ( 
(maintainer|longdescription|slots|stabilize-allarches|use|upstream)* )>
-<!ATTLIST pkgmetadata pkgname CDATA "">
 
   <!-- One tag for each maintainer of a package, multiple allowed-->
   <!ELEMENT maintainer (email|name|description)+>
-- 
2.38.0


Reply via email to