diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-04-11 21:56:37 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-04-17 17:36:21 +0200 |
commit | c9496010c9bb7eec769c192eea2a0674e08a8b2f (patch) | |
tree | a06f914663531540360fc9f451e020195fcb60dd | |
parent | glsa.data: State deprecation of infra/portage GLSAs (diff) | |
download | dtd-c9496010c9bb7eec769c192eea2a0674e08a8b2f.tar.gz dtd-c9496010c9bb7eec769c192eea2a0674e08a8b2f.tar.bz2 dtd-c9496010c9bb7eec769c192eea2a0674e08a8b2f.zip |
glsa.dtd: Allow slot="" attribute for vulnerable&unaffected
Officially list the slot="" attribute that is used in GLSAs for quite
some time in the DTD. It is supported by Portage and gentoolkit for
a long time, and was used in GLSAs interchangeably with implicit
appended ':slot' to the version. However, the latter was ugly and worked
only by accident, so we are moving towards the former.
-rw-r--r-- | glsa.dtd | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -124,7 +124,8 @@ Description: Version of the vulnerable package. Can be a range too --> <!ELEMENT vulnerable (#PCDATA)> -<!ATTLIST vulnerable range (le|lt|eq|gt|ge|rlt|rle|rgt|rge) #REQUIRED> +<!ATTLIST vulnerable range (le|lt|eq|gt|ge|rlt|rle|rgt|rge) #REQUIRED + slot CDATA "*"> <!-- Element: unaffected @@ -140,6 +141,7 @@ --> <!ELEMENT unaffected (#PCDATA)> <!ATTLIST unaffected range (le|lt|eq|gt|ge|rlt|rle|rgt|rge) #REQUIRED + slot CDATA "*" name CDATA #IMPLIED> <!-- |