Fix #975 "Seeing message on the console: "Warning: …"

See https://github.com/orbeon/saxon/commit/9fe8cf2970b51af9dd34b3df790ecf6e5db640e0