summaryrefslogtreecommitdiffstats
path: root/presto-utils/relaxng/presto.rnc
diff options
context:
space:
mode:
authorJonathan Dieter <jdieter@gmail.com>2007-07-11 18:37:03 +0300
committerJonathan Dieter <jdieter@gmail.com>2007-07-11 18:37:03 +0300
commitec53c5c2b2f6ea31b22c47e4ae8f71c4eff2cd37 (patch)
tree8f6deaef1c82c121fc71d5b7b10fa2b0ac0fa853 /presto-utils/relaxng/presto.rnc
parentdce0600bc64c793ba6e8f67c56c286d8d97e7c4c (diff)
downloadpresto-ec53c5c2b2f6ea31b22c47e4ae8f71c4eff2cd37.tar.gz
presto-ec53c5c2b2f6ea31b22c47e4ae8f71c4eff2cd37.tar.xz
presto-ec53c5c2b2f6ea31b22c47e4ae8f71c4eff2cd37.zip
Complete rewrite of yum-presto. New xml format.
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
Diffstat (limited to 'presto-utils/relaxng/presto.rnc')
-rw-r--r--presto-utils/relaxng/presto.rnc20
1 files changed, 20 insertions, 0 deletions
diff --git a/presto-utils/relaxng/presto.rnc b/presto-utils/relaxng/presto.rnc
new file mode 100644
index 0000000..90a4c34
--- /dev/null
+++ b/presto-utils/relaxng/presto.rnc
@@ -0,0 +1,20 @@
+start = element prestodeltas { newpackage+ }
+newpackage = element newpackage {
+ attribute name { text },
+ attribute epoch { text }?,
+ attribute version { text },
+ attribute release { text },
+ attribute arch { text },
+ element delta {
+ attribute oldepoch { text }?,
+ attribute oldversion { text }?,
+ attribute oldrelease { text }?,
+ element filename { text },
+ element sequence { text },
+ element size { text },
+ element checksum {
+ attribute type { "sha" | "md5" },
+ text
+ }
+ }+
+}