From 3b445b13595d2a4764552a9b547d30226cb1eca3 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 23 Feb 2010 21:10:51 +0000 Subject: Sample XML svn path=/rpkid/left-right-protocol-samples.xml; revision=2999 --- rpkid/left-right-protocol-samples.xml | 27 +++++++++++++++++++++++++++ rpkid/left-right-schema.rnc | 12 +++++++----- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/rpkid/left-right-protocol-samples.xml b/rpkid/left-right-protocol-samples.xml index a04f31f1..f4f9d34a 100644 --- a/rpkid/left-right-protocol-samples.xml +++ b/rpkid/left-right-protocol-samples.xml @@ -1064,6 +1064,33 @@ /> + + + + + + + + + + + + diff --git a/rpkid/left-right-schema.rnc b/rpkid/left-right-schema.rnc index 7c8fd2cc..fba1d673 100644 --- a/rpkid/left-right-schema.rnc +++ b/rpkid/left-right-schema.rnc @@ -24,6 +24,7 @@ query_elt |= repository_query query_elt |= list_roa_requests_query query_elt |= list_resources_query query_elt |= list_published_objects_query +query_elt |= list_received_resources_query # PDUs allowed in a reply reply_elt |= self_reply @@ -35,6 +36,7 @@ reply_elt |= list_resources_reply reply_elt |= list_roa_requests_reply reply_elt |= list_published_objects_reply reply_elt |= report_error_reply +reply_elt |= list_received_resources_reply # Tag attributes for bulk operations tag = attribute tag { xsd:token {maxLength="1024" } }? @@ -242,14 +244,14 @@ list_received_resources_query = element list_received_resources { list_received_resources_reply = element list_received_resources { tag, self_handle, - attribute asn { xsd:positiveInteger }, - attribute ipv4 { ipv4_list }, - attribute ipv6 { ipv6_list }, + attribute notBefore { xsd:dateTime { pattern=".*Z" } }, + attribute notAfter { xsd:dateTime { pattern=".*Z" } }, attribute uri { uri }, attribute sia_uri { uri }, attribute aia_uri { uri }, - attribute notBefore { xsd:dateTime { pattern=".*Z" } }, - attribute notAfter { xsd:dateTime { pattern=".*Z" } } + attribute asn { xsd:positiveInteger }?, + attribute ipv4 { ipv4_list }?, + attribute ipv6 { ipv6_list }? } # element -- cgit v1.2.3