From 6c7445cce4c8a05c3e762fd1d537c54d6ea1fc8c Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 22 Jan 2010 21:55:09 +0000 Subject: Branch myrpki code before starting rototill based on feedback from Tokyo workshop. svn path=/myrpki.rototill; revision=2958 --- myrpki.rototill/schema.py | 199 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 199 insertions(+) create mode 100644 myrpki.rototill/schema.py (limited to 'myrpki.rototill/schema.py') diff --git a/myrpki.rototill/schema.py b/myrpki.rototill/schema.py new file mode 100644 index 00000000..c371b45b --- /dev/null +++ b/myrpki.rototill/schema.py @@ -0,0 +1,199 @@ +import lxml.etree +myrpki = lxml.etree.RelaxNG(lxml.etree.fromstring(''' + + + + + 512000 + + + + + 255 + [\-_A-Za-z0-9]* + + + + + 255 + [\-_A-Za-z0-9/]* + + + + + 4096 + + + + + 512000 + [\-,0-9]* + + + + + 512000 + [\-,0-9/.]* + + + + + 512000 + [\-,0-9/:a-fA-F]* + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .*Z + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +''')) -- cgit v1.2.3