1 |
commit: 79fafd6b89e9bf633403318e41ebf729198a4403 |
2 |
Author: Diego Elio Pettenò <flameeyes <AT> flameeyes <DOT> eu> |
3 |
AuthorDate: Tue Nov 29 21:02:16 2011 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 29 21:02:16 2011 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/commit/?id=79fafd6b |
7 |
|
8 |
Update schemas for new license tag version attribute. |
9 |
|
10 |
common.rnc | 2 +- |
11 |
metadoc.rnc | 12 ++++++------ |
12 |
project.rnc | 2 +- |
13 |
3 files changed, 8 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/common.rnc b/common.rnc |
16 |
index a5241d6..5373e73 100644 |
17 |
--- a/common.rnc |
18 |
+++ b/common.rnc |
19 |
@@ -29,7 +29,7 @@ abstract.attlist &= empty |
20 |
summary = element summary { summary.attlist, text } |
21 |
summary.attlist &= empty |
22 |
license = element license { license.attlist, empty } |
23 |
-license.attlist &= empty |
24 |
+license.attlist &= attribute version { text }? |
25 |
version = element version { version.attlist, text } |
26 |
version.attlist &= empty |
27 |
figure = element figure { figure.attlist, empty } |
28 |
|
29 |
diff --git a/metadoc.rnc b/metadoc.rnc |
30 |
index a735d75..a69bef0 100644 |
31 |
--- a/metadoc.rnc |
32 |
+++ b/metadoc.rnc |
33 |
@@ -69,12 +69,12 @@ section = |
34 |
body = element body { body.attlist, (\include | block.class+) } |
35 |
chapter |= notAllowed |
36 |
start = |
37 |
- glepindex |
38 |
- | abstract |
39 |
- | author |
40 |
+ summary |
41 |
+ | glepindex |
42 |
| values |
43 |
- | metadoc |
44 |
- | license |
45 |
| included |
46 |
- | summary |
47 |
| dynamic |
48 |
+ | author |
49 |
+ | license |
50 |
+ | abstract |
51 |
+ | metadoc |
52 |
|
53 |
diff --git a/project.rnc b/project.rnc |
54 |
index 05b5c2d..65c3ce7 100644 |
55 |
--- a/project.rnc |
56 |
+++ b/project.rnc |
57 |
@@ -118,4 +118,4 @@ milestone.attlist &= |
58 |
depends = element depends { depends.attlist, text } |
59 |
depends.attlist &= attribute ref { xsd:IDREF } |
60 |
chapter |= notAllowed |
61 |
-start = abstract | \include | values | license | included | project |
62 |
+start = values | \include | project | included | license | abstract |