resolve-QName thinks prefix is not declared when it is not in use on literal result element
The attached XSLT results in an error that the prefix 'ord' has not been declared, but it has (both in the XSLT and in the literal result element). It seems that the issue is that the 'ord' prefix is declared but not actually used by the element. When I use ord:root instead, it works. Shouldn't resolve-QName be based on what namespaces are declared, vs. which ones are actually used by the element referenced in the second argument?
Engine name: Saxon-PE 22.214.171.124 Description: Namespace prefix 'ord' has not been declared
Please register to edit this issue