Marked test as lazy-eval.
Added attribute 'queryBinding' to schematron's schema.
Fixed test by declaring xs-namespace.
New tests. Some tests changed to new order in p:pipe
Tests XD0036 is not raised if select result in p:variable does not match required type, but the variable is not used.