resolve-QName() fails when given empty sequence
The Saxon XSLT and XQuery processor, developed by Saxonica
Brought to you by:
mhkay
If the first argument to resolve-QName is an empty sequence, the function should return an empty sequence. In some situations however it is processing the empty sequence as if it were a zero-length string, which causes a failure with the message "Invalid QName {}". The problem is with the type-checking of an argument where the expected type is xs:string()?, so it is capable of affecting other functions that treat a zero-length string differently from an empty sequence.
This problem affects 9.2 only. A patch to module UntypedAtomicConverter is being raised in Subversion.
Fixed in 9.2.0.3