fixed from efremov
global and build file
*** empty log message ***
fixed type check error (saxon 7.x)