Added attribute 'queryBinding' to schematron's schema.
Added test for the new "text-document" ruling.
Tests delete switches correctly to text document.