diff options
author | Rob Austein <sra@hactrn.net> | 2007-12-04 06:20:10 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2007-12-04 06:20:10 +0000 |
commit | a110eb8ced00a3ac743130e5db79a94305d02be6 (patch) | |
tree | 24cde06f0904a12bc07b3568f01092b20f455222 | |
parent | b31ae461e432fb45797b4e3fb093a2210e944d39 (diff) |
regen
svn path=/scripts/rpki/relaxng.py; revision=1354
-rw-r--r-- | scripts/rpki/relaxng.py | 14 | ||||
-rw-r--r-- | scripts/up-down-schema.rng | 12 |
2 files changed, 15 insertions, 11 deletions
diff --git a/scripts/rpki/relaxng.py b/scripts/rpki/relaxng.py index d10b9a70..31874eb8 100644 --- a/scripts/rpki/relaxng.py +++ b/scripts/rpki/relaxng.py @@ -921,7 +921,7 @@ left_right = lxml.etree.RelaxNG(lxml.etree.fromstring('''<?xml version="1.0" enc ## Parsed RelaxNG up_down schema up_down = lxml.etree.RelaxNG(lxml.etree.fromstring('''<?xml version="1.0" encoding="UTF-8"?> <!-- - $Id: up-down-schema.rnc 1350 2007-12-03 22:54:07Z sra $ + $Id: up-down-schema.rnc 1353 2007-12-04 06:19:01Z sra $ RelaxNG (Compact Syntax) Scheme for up-down protocol, extracted from APNIC Wiki. @@ -1033,11 +1033,13 @@ up_down = lxml.etree.RelaxNG(lxml.etree.fromstring('''<?xml version="1.0" encodi <param name="pattern">[\-,/:0-9a-fA-F]*</param> </data> </attribute> - <attribute name="resource_set_notafter"> - <data type="dateTime"> - <param name="pattern">.*Z</param> - </data> - </attribute> + <optional> + <attribute name="resource_set_notafter"> + <data type="dateTime"> + <param name="pattern">.*Z</param> + </data> + </attribute> + </optional> <optional> <attribute name="suggested_sia_head"> <data type="anyURI"> diff --git a/scripts/up-down-schema.rng b/scripts/up-down-schema.rng index 5985cbc9..1c6cd854 100644 --- a/scripts/up-down-schema.rng +++ b/scripts/up-down-schema.rng @@ -112,11 +112,13 @@ <param name="pattern">[\-,/:0-9a-fA-F]*</param> </data> </attribute> - <attribute name="resource_set_notafter"> - <data type="dateTime"> - <param name="pattern">.*Z</param> - </data> - </attribute> + <optional> + <attribute name="resource_set_notafter"> + <data type="dateTime"> + <param name="pattern">.*Z</param> + </data> + </attribute> + </optional> <optional> <attribute name="suggested_sia_head"> <data type="anyURI"> |