~thopiekar/zypper/libzypp-manual-import

« back to all changes in this revision

Viewing changes to zypp/parser/yum/schema/repomd.rnc

  • Committer: Thomas-Karl Pietrowski
  • Date: 2014-01-29 22:44:28 UTC
  • Revision ID: thopiekar@googlemail.com-20140129224428-gpcqnsdakby362n8
firstĀ import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
default namespace = "http://linux.duke.edu/metadata/repo"
 
2
 
 
3
include "common-inc.rnc"
 
4
 
 
5
repomd.location = element location {
 
6
  attribute href { xsd:anyURI }
 
7
}
 
8
repomd.meta = element checksum {
 
9
  private.checksum 
 
10
},
 
11
# Oddity in the wild: a timestamp wiht a decimal
 
12
element timestamp { private.unixts | xsd:decimal },
 
13
element size { private.positive }?,
 
14
element open-size { private.positive }?,
 
15
element open-checksum {
 
16
  private.checksum
 
17
}
 
18
 
 
19
 
 
20
start = element repomd {
 
21
  element revision { private.unixts }?,
 
22
  element tags {
 
23
    element repo { xsd:anyURI }
 
24
  }?,
 
25
  element data {
 
26
    attribute type { "deltainfo" | "filelists" | "other" | "primary" | "susedata" | "suseinfo" | "updateinfo" | "patches" | "products" | "product" | "patterns" | "pattern" },
 
27
    ((repomd.meta, repomd.location) | (repomd.location, repomd.meta))
 
28
  }*
 
29
}