Fixed #943: FPF error insertion fails if XPath expression yields more than one location in the document
merge fb04279ff01e1ed3bbc731e81611393c548ee7a6...fa53e68db1bb6a0c8c1d73039ae541f66173a4f9 (from 0.11)