strange java 8 vs saxon error