Project

Profile

Help

Support #4398

closed

resolve-QName thinks prefix is not declared when it is not in use on literal result element

Added by Priscilla Walmsley almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2019-11-27
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
9.8
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

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 9.8.0.12 Description: Namespace prefix 'ord' has not been declared


Files

saxonissues2.xsl (447 Bytes) saxonissues2.xsl Priscilla Walmsley, 2019-11-27 18:16
dummyin.xml (66 Bytes) dummyin.xml Priscilla Walmsley, 2019-11-27 18:16

Please register to edit this issue

Also available in: Atom PDF