diff options
Diffstat (limited to 'scripts/xml-parse-test.py')
-rwxr-xr-x | scripts/xml-parse-test.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/xml-parse-test.py b/scripts/xml-parse-test.py index 96ac55ff..f1604489 100755 --- a/scripts/xml-parse-test.py +++ b/scripts/xml-parse-test.py @@ -6,6 +6,7 @@ if True: files = glob.glob("up-down-protocol-samples/*.xml") files.sort() for f in files: + print "<!--", f, "-->" handler = rpki.up_down.sax_handler() fh = open(f, "r") x = fh.read() @@ -19,6 +20,7 @@ if True: files = glob.glob("left-right-protocol-samples/*.xml") files.sort() for f in files: + print "<!--", f, "-->" handler = rpki.left_right.sax_handler() fh = open(f, "r") x = fh.read() @@ -26,4 +28,4 @@ if True: xml.sax.parseString(x, handler) x = str(handler.result) print x -# rpki.relaxng.relaxng(x, "left-right-schema.rng") + rpki.relaxng.relaxng(x, "left-right-schema.rng") |