Please, any time the script does not work for your use-case and you want to fix it and voluntarily provide a patch to be integrated, follow these guidelines: 1/ some kind of minimal test case should be added to the test suite 2/ no test from the original test suite should be broken after applying the patch unless there is a pretty good reason to change something and then, new expected results have to be provided 3/ try to comply with style (and use checkers like pep8, pyflakes) Refactoring effort is welcome as well (please respect 2/ and 3/). Notable pointers: - http://www.thaiopensource.com/relaxng/implement.html