diff options
author | Rob Austein <sra@hactrn.net> | 2014-11-08 18:01:58 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-11-08 18:01:58 +0000 |
commit | c3e5e4683497edc4826505e259e7e3b27eda1dab (patch) | |
tree | 7123f92f39faa5d34effadcc37edb579b0b75507 /schemas/relaxng/rrdp.rnc | |
parent | 57aa21b33028bed90e746221edc1d491306b7475 (diff) |
Simplify RRDP schema again: one delta file now contains exactly one
delta rather than a range.
svn path=/branches/tk705/; revision=6010
Diffstat (limited to 'schemas/relaxng/rrdp.rnc')
-rw-r--r-- | schemas/relaxng/rrdp.rnc | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/schemas/relaxng/rrdp.rnc b/schemas/relaxng/rrdp.rnc index 2829605d..7809abdd 100644 --- a/schemas/relaxng/rrdp.rnc +++ b/schemas/relaxng/rrdp.rnc @@ -36,10 +36,9 @@ start |= element notification { attribute hash { hash } }, element delta { - attribute from { serial }, - attribute to { serial }, - attribute uri { uri }, - attribute hash { hash } + attribute serial { serial }, + attribute uri { uri }, + attribute hash { hash } }* } @@ -49,20 +48,19 @@ start |= element snapshot { attribute version { version }, attribute session_id { uuid }, attribute serial { serial }, - element publish { attribute uri { uri }, base64 }* + element publish { + attribute uri { uri }, + base64 + }* } # Delta segment: think DNS IXFR. -start |= element deltas { +start |= element delta { attribute version { version }, attribute session_id { uuid }, - attribute from { serial }, - attribute to { serial }, - element delta { - attribute serial { serial }, - delta_element+ - }+ + attribute serial { serial }, + delta_element+ } delta_element |= element publish { |