diff options
Diffstat (limited to 'rpkid')
-rw-r--r-- | rpkid/left-right-schema.rnc | 2 | ||||
-rw-r--r-- | rpkid/left-right-schema.rng | 2 | ||||
-rw-r--r-- | rpkid/rpki/relaxng.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/rpkid/left-right-schema.rnc b/rpkid/left-right-schema.rnc index 3b058502..a2759f56 100644 --- a/rpkid/left-right-schema.rnc +++ b/rpkid/left-right-schema.rnc @@ -247,7 +247,7 @@ list_roa_requests_query = element list_roa_requests { list_roa_requests_reply = element list_roa_requests { tag, self_handle, - attribute asn { xsd:positiveInteger }, + attribute asn { xsd:nonNegativeInteger }, attribute ipv4 { ipv4_list }?, attribute ipv6 { ipv6_list }? } diff --git a/rpkid/left-right-schema.rng b/rpkid/left-right-schema.rng index 1ab21668..4170629b 100644 --- a/rpkid/left-right-schema.rng +++ b/rpkid/left-right-schema.rng @@ -875,7 +875,7 @@ <ref name="tag"/> <ref name="self_handle"/> <attribute name="asn"> - <data type="positiveInteger"/> + <data type="nonNegativeInteger"/> </attribute> <optional> <attribute name="ipv4"> diff --git a/rpkid/rpki/relaxng.py b/rpkid/rpki/relaxng.py index e1ea8f6b..f527b17a 100644 --- a/rpkid/rpki/relaxng.py +++ b/rpkid/rpki/relaxng.py @@ -881,7 +881,7 @@ left_right = lxml.etree.RelaxNG(lxml.etree.fromstring('''<?xml version="1.0" enc <ref name="tag"/> <ref name="self_handle"/> <attribute name="asn"> - <data type="positiveInteger"/> + <data type="nonNegativeInteger"/> </attribute> <optional> <attribute name="ipv4"> |