commit:     79fafd6b89e9bf633403318e41ebf729198a4403
Author:     Diego Elio Pettenò <flameeyes <AT> flameeyes <DOT> eu>
AuthorDate: Tue Nov 29 21:02:16 2011 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Nov 29 21:02:16 2011 +0000
URL:        
https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/commit/?id=79fafd6b

Update schemas for new license tag version attribute.

 common.rnc  |  2 +-
 metadoc.rnc | 12 ++++++------
 project.rnc |  2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/common.rnc b/common.rnc
index a5241d6..5373e73 100644
--- a/common.rnc
+++ b/common.rnc
@@ -29,7 +29,7 @@ abstract.attlist &= empty
 summary = element summary { summary.attlist, text }
 summary.attlist &= empty
 license = element license { license.attlist, empty }
-license.attlist &= empty
+license.attlist &= attribute version { text }?
 version = element version { version.attlist, text }
 version.attlist &= empty
 figure = element figure { figure.attlist, empty }

diff --git a/metadoc.rnc b/metadoc.rnc
index a735d75..a69bef0 100644
--- a/metadoc.rnc
+++ b/metadoc.rnc
@@ -69,12 +69,12 @@ section =
 body = element body { body.attlist, (\include | block.class+) }
 chapter |= notAllowed
 start =
-  glepindex
-  | abstract
-  | author
+  summary
+  | glepindex
   | values
-  | metadoc
-  | license
   | included
-  | summary
   | dynamic
+  | author
+  | license
+  | abstract
+  | metadoc

diff --git a/project.rnc b/project.rnc
index 05b5c2d..65c3ce7 100644
--- a/project.rnc
+++ b/project.rnc
@@ -118,4 +118,4 @@ milestone.attlist &=
 depends = element depends { depends.attlist, text }
 depends.attlist &= attribute ref { xsd:IDREF }
 chapter |= notAllowed
-start = abstract | \include | values | license | included | project
+start = values | \include | project | included | license | abstract

Reply via email to