Some fixes for schematrons