diff options
author | Rob Austein <sra@hactrn.net> | 2010-03-09 04:09:50 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2010-03-09 04:09:50 +0000 |
commit | eb98933ef23ce58e50a546a9fd2fb0813671079c (patch) | |
tree | 9ebdc3956100a2b9a3e990834dd59a6c8b8cd0af /myrpki.rototill/xml-parse-test.py | |
parent | ecb6b3a698a5ec2225434eddd32f5cf758cc7656 (diff) |
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
Diffstat (limited to 'myrpki.rototill/xml-parse-test.py')
-rw-r--r-- | myrpki.rototill/xml-parse-test.py | 5 |
1 files changed, 3 insertions, 2 deletions
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: |