diff options
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: |