summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-11-21 11:39:52 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-11-21 11:39:52 +0100
commit70ffa1221d4303700e52b9b8138a8c36e2fd608c (patch)
tree5d72e4643c0449d25e9e5c08d97db472ad45dce3
parentImport nxml-gentoo-schemas files from version 20070110. (diff)
downloadnxml-gentoo-schemas-70ffa1221d4303700e52b9b8138a8c36e2fd608c.tar.gz
nxml-gentoo-schemas-70ffa1221d4303700e52b9b8138a8c36e2fd608c.tar.bz2
nxml-gentoo-schemas-70ffa1221d4303700e52b9b8138a8c36e2fd608c.zip
Update the metadata.rnc file from the recent changes to metadata.dtd.
-rw-r--r--metadata.rnc17
1 files changed, 14 insertions, 3 deletions
diff --git a/metadata.rnc b/metadata.rnc
index 6d49c86..429dd05 100644
--- a/metadata.rnc
+++ b/metadata.rnc
@@ -10,7 +10,7 @@ attlist.catmetadata &=
# Metadata for a package
pkgmetadata =
element pkgmetadata {
- attlist.pkgmetadata, (herd | maintainer | longdescription)*
+ attlist.pkgmetadata, (herd | maintainer | longdescription | use)*
}
attlist.pkgmetadata &=
[ a:defaultValue = "" ] attribute pkgname { text }?
@@ -23,7 +23,7 @@ maintainer =
}
# A long description of the package in freetext
longdescription =
- element longdescription { attlist.longdescription, text }
+ element longdescription { attlist.longdescription, (text | pkg)* }
# The changelog of the package
changelog = element changelog { attlist.changelog, change* }
attlist.changelog &= empty
@@ -59,6 +59,15 @@ attlist.bug &= empty
# format of this is a number or alias for a bug. NOT including a
# # character
+# description of what this USE flag does for this package
+use = element use { attlist.use, flag* }
+flag = element flag { attlist.flag, (text | pkg)* }
+# name attribute holds the name of the USE flag
+attlist.flag &= attribute name { text }
+# category/package information for cross-linking in descriptions
+# and useflag descriptions
+pkg = element pkg { attlist.pkg, text }
+attlist.pkg &= empty
# Common attributes
# the lang attribute, specifies the language of this tag. This is
@@ -68,6 +77,7 @@ attlist.bug &= empty
attlist.description &= [ a:defaultValue = "C" ] attribute lang { text }?
attlist.longdescription &=
[ a:defaultValue = "C" ] attribute lang { text }?
+attlist.use &= [ a:defaultValue = "C" ] attribute lang { text }?
# The restrict attribute, this attribute specifies restrictions on
# the applicability of tags on versions. The format of this attribute is
# equal to the format of DEPEND lines in ebuilds. There is one special
@@ -79,6 +89,7 @@ attlist.longdescription &=
attlist.herd &= attribute restrict { text }?
attlist.maintainer &= attribute restrict { text }?
attlist.longdescription &= attribute restrict { text }?
+attlist.flag &= attribute restrict { text }?
# standard parts
email = element email { attlist.email, text }
attlist.email &= empty
@@ -87,5 +98,5 @@ name = element name { attlist.name, text }
attlist.name &= empty
# the name of a person (maintainer, contributor)
description = element description { attlist.description, text }
-start = changelog | packages | catmetadata
+start = catmetadata | packages | changelog
# A description of a maintainer or change