aboutsummaryrefslogtreecommitdiff
path: root/schemas/relaxng/rrdp.rng
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-11-08 18:01:58 +0000
committerRob Austein <sra@hactrn.net>2014-11-08 18:01:58 +0000
commitc3e5e4683497edc4826505e259e7e3b27eda1dab (patch)
tree7123f92f39faa5d34effadcc37edb579b0b75507 /schemas/relaxng/rrdp.rng
parent57aa21b33028bed90e746221edc1d491306b7475 (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.rng')
-rw-r--r--schemas/relaxng/rrdp.rng21
1 files changed, 4 insertions, 17 deletions
diff --git a/schemas/relaxng/rrdp.rng b/schemas/relaxng/rrdp.rng
index 9bd3a207..9ff2ff1e 100644
--- a/schemas/relaxng/rrdp.rng
+++ b/schemas/relaxng/rrdp.rng
@@ -65,10 +65,7 @@
</element>
<zeroOrMore>
<element name="delta">
- <attribute name="from">
- <ref name="serial"/>
- </attribute>
- <attribute name="to">
+ <attribute name="serial">
<ref name="serial"/>
</attribute>
<attribute name="uri">
@@ -105,28 +102,18 @@
</start>
<!-- Delta segment: think DNS IXFR. -->
<start combine="choice">
- <element name="deltas">
+ <element name="delta">
<attribute name="version">
<ref name="version"/>
</attribute>
<attribute name="session_id">
<ref name="uuid"/>
</attribute>
- <attribute name="from">
- <ref name="serial"/>
- </attribute>
- <attribute name="to">
+ <attribute name="serial">
<ref name="serial"/>
</attribute>
<oneOrMore>
- <element name="delta">
- <attribute name="serial">
- <ref name="serial"/>
- </attribute>
- <oneOrMore>
- <ref name="delta_element"/>
- </oneOrMore>
- </element>
+ <ref name="delta_element"/>
</oneOrMore>
</element>
</start>