diff options
Diffstat (limited to 'glsa.rnc')
-rw-r--r-- | glsa.rnc | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,4 +1,6 @@ -# $Header: /var/cvsroot/gentoo/xml/htdocs/dtd/glsa.dtd,v 1.16 2007/11/05 00:54:20 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo/xml/htdocs/dtd/glsa.dtd,v 1.17 2008/04/04 17:04:39 neysx Exp $ + +namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0" glsa = element glsa { @@ -62,10 +64,11 @@ announced = element announced { attlist.announced, text } attlist.announced &= empty # Element: revised # Description: Last revision date of the GLSA +# Attribute: @count: number of revisions # -# Example: <revised>2003-11-20</revised> +# Example: <revised count="02">2003-11-20</revised> revised = element revised { attlist.revised, text } -attlist.revised &= empty +attlist.revised &= [ a:defaultValue = "01" ] attribute count { text }? # Element: bug # Description: Number of the bug on bugs.gentoo.org, if any # Occurrence: The bug element can occur 0, 1 or more times @@ -274,7 +277,7 @@ attlist.br &= empty # Description: Add license information # # Example: <license/> -license = element license { attlist.license, text } +license = element license { attlist.license, EMPTY } attlist.license &= empty # Element: metadata # Description: Metadata information for GLSAMaker @@ -288,4 +291,5 @@ attlist.metadata &= attribute revision { text }?, attribute author { text }?, attribute timestamp { text }? +EMPTY |= notAllowed start = glsa |