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 2394 - LocalNameFromQNameFunc015 results incorrect
Summary: LocalNameFromQNameFunc015 results incorrect
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.7.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Mike Rorke
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-20 08:20 UTC by Michael Kay
Modified: 2005-10-25 21:28 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-10-20 08:20:15 UTC
The query appears to expect a type error because the input to the function is
not a QName. In fact, however, the input to the function is an empty sequence,
because the path expression $input-context/Folder selects nothing (the top level
element of the fsx source file is called Drivel).

also affects

NamespaceURIFromQNameFunc015

Note: with tests that use a schema, it's a shame that such errors aren't caught
by type checking. They could be if the type of the $input-context variable were
declared.
Comment 1 Mike Rorke 2005-10-25 21:28:26 UTC
Type - path expressions should be $input-context//Folder. Fixed