diff options
author | Rob Austein <sra@hactrn.net> | 2014-07-09 05:39:54 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-07-09 05:39:54 +0000 |
commit | ed6e675ccbe2a3e2c57dfb35e4c71684a25110b0 (patch) | |
tree | d790587c217adec5327ec42a2e4774e3587de3d7 /schemas/relaxng/rrdp.rnc | |
parent | 13a65b463cd0acedd3bc36c9437d5ee8b2e26b60 (diff) |
Add withdrawal hashes to publication and rrdp.
svn path=/branches/tk705/; revision=5888
Diffstat (limited to 'schemas/relaxng/rrdp.rnc')
-rw-r--r-- | schemas/relaxng/rrdp.rnc | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/schemas/relaxng/rrdp.rnc b/schemas/relaxng/rrdp.rnc index 5b47c90b..2829605d 100644 --- a/schemas/relaxng/rrdp.rnc +++ b/schemas/relaxng/rrdp.rnc @@ -61,11 +61,21 @@ start |= element deltas { attribute to { serial }, element delta { attribute serial { serial }, - ( element publish { attribute uri { uri }, base64 } | - element withdraw { attribute uri { uri } } )+ + delta_element+ }+ } +delta_element |= element publish { + attribute uri { uri }, + attribute hash { hash }?, + base64 +} + +delta_element |= element withdraw { + attribute uri { uri }, + attribute hash { hash } +} + # Local Variables: # indent-tabs-mode: nil # comment-start: "# " |