From 8703efc4f9bb0f5990598765eb3fdfe53bb8785c Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 26 Jun 2014 17:48:53 +0000 Subject: Initial schema and test cases for RRDP, based on Tim's expired -01 draft. Not yet simplified to remove what we now think are premature optimizations; the schema contains notes on this. See #705. svn path=/branches/tk705/; revision=5875 --- rpki/relaxng.py | 218 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 218 insertions(+) (limited to 'rpki/relaxng.py') diff --git a/rpki/relaxng.py b/rpki/relaxng.py index 594b0a09..9e0c197d 100644 --- a/rpki/relaxng.py +++ b/rpki/relaxng.py @@ -2158,6 +2158,224 @@ router_certificate = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' ''')) +## @var rrdp +## Parsed RelaxNG rrdp schema +rrdp = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + notification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + snapshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + deltas + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +''')) + ## @var up_down ## Parsed RelaxNG up_down schema up_down = lxml.etree.RelaxNG(lxml.etree.fromstring(r''' -- cgit v1.2.3