From e85b5383b314ea8259de0e250e56f52ec44bd90e Mon Sep 17 00:00:00 2001 From: Diego 'Flameeyes' Pettenò Date: Sat, 5 Apr 2008 22:28:57 +0200 Subject: Update for new DTDs. --- glsa.rnc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'glsa.rnc') diff --git a/glsa.rnc b/glsa.rnc index 3ca92a0..f5adaf7 100644 --- a/glsa.rnc +++ b/glsa.rnc @@ -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: 2003-11-20 +# Example: 2003-11-20 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 = 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 -- cgit v1.2.3-65-gdbad