From eb98933ef23ce58e50a546a9fd2fb0813671079c Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 9 Mar 2010 04:09:50 +0000 Subject: Get rid of .conf parameters repository_bpki_certificate and repository_handle; these should have gone away when the {parents,children,pubclients}.csv files did. svn path=/myrpki.rototill/Makefile; revision=3050 --- myrpki.rototill/xml-parse-test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'myrpki.rototill/xml-parse-test.py') diff --git a/myrpki.rototill/xml-parse-test.py b/myrpki.rototill/xml-parse-test.py index d5f8e007..e32241ed 100644 --- a/myrpki.rototill/xml-parse-test.py +++ b/myrpki.rototill/xml-parse-test.py @@ -19,14 +19,15 @@ PERFORMANCE OF THIS SOFTWARE. """ import lxml.etree, rpki.resource_set, base64, subprocess -import schema + +relaxng = lxml.etree.RelaxNG(file = "myrpki.rng") tree = lxml.etree.parse("myrpki.xml").getroot() if False: print lxml.etree.tostring(tree, pretty_print = True, encoding = "us-ascii", xml_declaration = True) -schema.myrpki.assertValid(tree) +relaxng.assertValid(tree) def showitems(x): if False: -- cgit v1.2.3