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 2395 - LocalNameFromQNameFunc022 gives no error
Summary: LocalNameFromQNameFunc022 gives no error
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:35 UTC by Michael Kay
Modified: 2005-10-25 21:26 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-10-20 08:35:27 UTC
This query says it expects a type error because the non-executed branch of the
conditional does not deliver a QName. But there's no reason for that to be a
type error under dynamic typing: the dynamic type is a QName, which is correct.
It's possible that a static typing implementation would give an error because
the two branches of the conditional are different types, though it's hard to see
how that can be achieved since the type of the $input-context variable has not
been declared.

Also affects NamespaceURIFromQNameFunc022
Comment 1 Mike Rorke 2005-10-25 21:26:46 UTC
These tests are static type cases - removed