initial attempt on diskusage schema
authorKlaus Kaempf <kkaempf@suse.de>
Thu, 14 Aug 2008 14:00:44 +0000 (14:00 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Thu, 14 Aug 2008 14:00:44 +0000 (14:00 +0000)
zypp/parser/yum/schema/diskusage.rnc [new file with mode: 0644]

diff --git a/zypp/parser/yum/schema/diskusage.rnc b/zypp/parser/yum/schema/diskusage.rnc
new file mode 100644 (file)
index 0000000..ea999e9
--- /dev/null
@@ -0,0 +1,35 @@
+default namespace = "http://linux.duke.edu/metadata/rpm"
+namespace ns1 = "http://novell.com/package/metadata/suse/diskusage"
+
+element diskusage {
+  element duinfo {
+    attribute name { text },
+    attribute epoch { text }?,
+    attribute ver { text },
+    attribute rel { text },
+    attribute arch {
+      "noarch"
+      | "athlon"
+      | "i386"
+      | "i486"
+      | "i586"
+      | "i686"
+      | "ia64"
+      | "ppc"
+      | "ppc64"
+      | "s390"
+      | "s390x"
+      | "x86_64"
+      | "src"
+    },
+    element dirs {
+      element dir {
+        attribute name { text },
+       attribute size { xsd:nonNegativeInteger },
+       attribute count { xsd:nonNegativeInteger }
+      }*,
+    },
+    empty
+  }+,
+  empty
+}