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 6660 - K2-ExternalVariablesWith-23
Summary: K2-ExternalVariablesWith-23
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Frans Englich
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-06 18:58 UTC by Michael Kay
Modified: 2009-10-13 13:40 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2009-03-06 18:58:16 UTC
This test is:

declare variable $v as element(notWildCard, xs:untyped?)+ := <e/>;
1

and it is expected to succeed. But the initializer of the variable declaration produces a value that does not conform to the required type (wrong element name). So it is legitimate to raise a type error. Its also legitimate not to raise it, since the variable is never used.
Comment 1 Frans Englich 2009-10-13 13:40:53 UTC
Should be fixed in CVS.