This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28365 - [XT30] higher-order-functions-69 test on function-name depends on namespace prefix, but this is implementation defined
Summary: [XT30] higher-order-functions-69 test on function-name depends on namespace p...
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Last Call drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2015-03-29 16:05 UTC by Abel Braaksma
Modified: 2015-03-29 19:08 UTC (History)
1 user (show)

See Also:


Description Abel Braaksma 2015-03-29 16:05:06 UTC
As in the bug title. function-name(floor#1) may return "floor", "fn:floor" or "ns3:floor" or any other namespace prefix.

The spec says in 15.1.2: "The prefix part of the returned QName is ·implementation dependent·."
Comment 1 Abel Braaksma 2015-03-29 16:25:00 UTC
Fixed by testing only the local part by using local-name-from-QName function.
Comment 2 Michael Kay 2015-03-29 16:28:45 UTC
Comment 3 Abel Braaksma 2015-03-29 19:08:27 UTC
Repository updated with fix suggested in comment#0.
Comment 4 Abel Braaksma 2015-03-29 19:08:52 UTC
sorry, fix is from comment#1 ;)