diff options
-rw-r--r-- | rpkid/rpki/relaxng.py | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/rpkid/rpki/relaxng.py b/rpkid/rpki/relaxng.py index aa93fd7a..ffa218f5 100644 --- a/rpkid/rpki/relaxng.py +++ b/rpkid/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.rnc 2839 2009-10-27 18:53:00Z sra $ + $Id: left-right-schema.rnc 2995 2010-02-23 18:11:21Z sra $ RelaxNG Schema for RPKI left-right protocol. @@ -882,6 +882,47 @@ left_right = lxml.etree.RelaxNG(lxml.etree.fromstring('''<?xml version="1.0" enc <ref name="base64"/> </element> </define> + <!-- <list_received_resources/> element --> + <define name="list_received_resources_query"> + <element name="list_received_resources"> + <ref name="tag"/> + <ref name="self_handle"/> + </element> + </define> + <define name="list_received_resources_reply"> + <element name="list_received_resources"> + <ref name="tag"/> + <ref name="self_handle"/> + <attribute name="asn"> + <data type="positiveInteger"/> + </attribute> + <attribute name="ipv4"> + <ref name="ipv4_list"/> + </attribute> + <attribute name="ipv6"> + <ref name="ipv6_list"/> + </attribute> + <attribute name="uri"> + <ref name="uri"/> + </attribute> + <attribute name="sia_uri"> + <ref name="uri"/> + </attribute> + <attribute name="aia_uri"> + <ref name="uri"/> + </attribute> + <attribute name="notBefore"> + <data type="dateTime"> + <param name="pattern">.*Z</param> + </data> + </attribute> + <attribute name="notAfter"> + <data type="dateTime"> + <param name="pattern">.*Z</param> + </data> + </attribute> + </element> + </define> <!-- <report_error/> element --> <define name="error"> <data type="token"> |