#991 resolve-QName() fails when given empty sequence

v9.2
closed
Michael Kay
5
2012-10-08
2009-09-29
Michael Kay
No

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.

Discussion

  • Michael Kay
    Michael Kay
    2009-10-22

    Fixed in 9.2.0.3