ref: refs/heads/master
commit bbbebb1b7e259d6ce12a74f67b40ebd7c15c2d51
Author: Ján Kupec
Date: Mon Nov 23 11:59:30 2009 +0100
update to reflect current implementation
---
zypp/parser/yum/schema/repoindex.rnc | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/zypp/parser/yum/schema/repoindex.rnc b/zypp/parser/yum/schema/repoindex.rnc
index bc32693..f3feb18 100644
--- a/zypp/parser/yum/schema/repoindex.rnc
+++ b/zypp/parser/yum/schema/repoindex.rnc
@@ -1,5 +1,6 @@
-# NU service index file schema.
-#
+# Repository Index XML file schema
+# see http://en.opensuse.org/Standards/Repository_Index_Service
+#
# Elements:
#
# repoindex
@@ -11,8 +12,8 @@
# distro_target - target distribution
# priority - priority of repository
# pub - ???
-# path - relative path to repository
-#
+# path - path relative to the repoindex.xml parent dir URL
+# url - full URI of the repository
element repoindex {
element repo {
@@ -22,7 +23,10 @@ element repoindex {
attribute distro_target { xsd:string },
attribute priority { xsd:integer }?,
attribute pub { xsd:integer }?,
- attribute path { xsd:string }
+ (
+ attribute url {xsd:anyURI} |
+ attribute path { xsd:string }
+ )
}+,
empty
}
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org