From: Klaus Kaempf Date: Thu, 14 Aug 2008 14:00:44 +0000 (+0000) Subject: initial attempt on diskusage schema X-Git-Tag: BASE-SuSE-Code-11-Branch~499 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ace9b22df9921e51ab04ca97fad5012d1599fc82;p=platform%2Fupstream%2Flibzypp.git initial attempt on diskusage schema --- diff --git a/zypp/parser/yum/schema/diskusage.rnc b/zypp/parser/yum/schema/diskusage.rnc new file mode 100644 index 0000000..ea999e9 --- /dev/null +++ b/zypp/parser/yum/schema/diskusage.rnc @@ -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 +}