summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-03-02 12:36:32 +0100
committerMichał Górny <mgorny@gentoo.org>2016-03-02 12:39:25 +0100
commitc2328d1d2fd26b798f36e911770f638772ffe2b7 (patch)
tree53dda5db17a611f10c1c4a724adbb7a754c364a6
parentmetadata.dtd: Fix indentation (diff)
downloaddtd-c2328d1d2fd26b798f36e911770f638772ffe2b7.tar.gz
dtd-c2328d1d2fd26b798f36e911770f638772ffe2b7.tar.bz2
dtd-c2328d1d2fd26b798f36e911770f638772ffe2b7.zip
metadata.dtd: Remove outdated definition of global-scope <changelog/>
Remove the long form of <changelog/> element that was likely used (or supposed to be used) in the global metadata scope. It is currently referenced in <upstream/> element only, and judging from the comments, it is supposed to always be a URL there.
-rw-r--r--metadata.dtd25
1 files changed, 2 insertions, 23 deletions
diff --git a/metadata.dtd b/metadata.dtd
index 101478a..5bc8c39 100644
--- a/metadata.dtd
+++ b/metadata.dtd
@@ -30,29 +30,6 @@
<!-- The meaning of sub-SLOTs for the whole package -->
<!ELEMENT subslots (#PCDATA)* >
- <!-- The changelog of the package-->
- <!-- Please note that #PCDATA is mentioned only for the upstream changelog
- element, where the content is a URL. This is due to limitations of the DTD -->
- <!ELEMENT changelog (#PCDATA|change)* >
- <!-- The changelog contains various "changes"-->
- <!ELEMENT change (date,(developer|version|description|file|contributor|bug)*) >
- <!ELEMENT date (#PCDATA) >
- <!-- The date of the change, in "YYYY-MM-DD" format -->
- <!ELEMENT developer (name?,email) >
- <!-- The developer that made the change. The email is required, name
- is optional-->
- <!ELEMENT version (#PCDATA) >
- <!--version of the packages involved (one tag per version)-->
- <!ELEMENT file (#PCDATA) ><!-- one tag per file touched -->
- <!ELEMENT contributor (name?,email?) >
- <!-- A reference to a user that helped in causing this change.
- There should at least be a name or email address included.
- Email is preferred -->
- <!ELEMENT bug (#PCDATA) >
- <!-- bug-id of a bug fixed by this change, multiple allowed. The
- format of this is a number or alias for a bug. NOT including a
- # character -->
-
<!-- description of what this USE flag does for this package -->
<!ELEMENT use (flag)* >
<!ELEMENT flag (#PCDATA|pkg|cat)* >
@@ -66,6 +43,8 @@
the usage of the status attribute is nevertheless _only_ allowed
in the upstream maintainer element. -->
<!ATTLIST maintainer status (active|inactive|unknown) "unknown" >
+ <!-- URL where the upstream changelog can be found -->
+ <!ELEMENT changelog (#PCDATA)>
<!-- URL where the location of the upstream documentation can be found -->
<!ELEMENT doc (#PCDATA)>
<!ATTLIST doc lang CDATA "C" >