- distro_target is optional
authorJan Kupec <jkupec@suse.cz>
Mon, 15 Sep 2008 21:10:12 +0000 (21:10 +0000)
committerJan Kupec <jkupec@suse.cz>
Mon, 15 Sep 2008 21:10:12 +0000 (21:10 +0000)
zypp/parser/schema/repoindex.rnc

index b091270..f183cc2 100644 (file)
@@ -17,13 +17,14 @@ repoindex-element =
         # Path relative to the base url of the service
         # WARNING 'repo/' is always prepended to this path
         #         (this is inherited from NU services)
-        attribute path { xsd:string}
+        attribute path { xsd:string }
         |
         # Full URI of the repository (can also be outside of the service base)
         attribute url { xsd:anyURI }
       ),
-      # unique identifier of the target distribution (distroname-arch)
-      attribute distro_target { xsd:string },
+      # unique identifier of the target distribution (distroname-version-arch)
+      # if not specified, all the repositories will be added by the client
+      attribute distro_target { xsd:string }?,
 
       # An optional repository type. Will be determined automatically if not
       # specified.