Michael Kay - 2015-09-14

It looks like we've seen it before and failed to get to the bottom of it on that occasion: https://sourceforge.net/p/saxon/mailman/message/28996720/

I should think it's some problem with entity or character references in your source document, or perhaps an encoding issue.