aboutsummaryrefslogtreecommitdiff
path: root/scripts/rpki/relaxng.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/rpki/relaxng.py')
-rw-r--r--scripts/rpki/relaxng.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/scripts/rpki/relaxng.py b/scripts/rpki/relaxng.py
index e0f2568e..72211ded 100644
--- a/scripts/rpki/relaxng.py
+++ b/scripts/rpki/relaxng.py
@@ -6,7 +6,7 @@ import lxml.etree
## Parsed RelaxNG left_right schema
left_right = lxml.etree.RelaxNG(lxml.etree.fromstring('''<?xml version="1.0" encoding="UTF-8"?>
<!--
- $Id: left-right-schema.rng 1088 2007-10-04 03:06:25Z sra $
+ $Id: left-right-schema.rnc 1088 2007-10-04 03:06:25Z sra $
RelaxNG (Compact Syntax) Schema for RPKI left-right protocol.
@@ -838,18 +838,14 @@ left_right = lxml.etree.RelaxNG(lxml.etree.fromstring('''<?xml version="1.0" enc
<value>query</value>
</attribute>
<ref name="self_id"/>
- <optional>
- <ref name="child_id"/>
- </optional>
+ <ref name="child_id"/>
</group>
<group>
<attribute name="type">
<value>reply</value>
</attribute>
<ref name="self_id"/>
- <optional>
- <ref name="child_id"/>
- </optional>
+ <ref name="child_id"/>
<optional>
<attribute name="valid_until">
<data type="token">