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 6988 - K2-ExternalVariablesWith-22
Summary: K2-ExternalVariablesWith-22
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-06-01 15:55 UTC by Michael Kay
Modified: 2016-04-05 14:57 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2009-06-01 15:55:50 UTC
This test (confusingly named, because it does not actually have an external variable) is:

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

With construction mode preserve, the type of the element will be "anyType" rather than "untyped", so (if the variable is evaluated at all) it will cause a type error XPTY0004, whereas the test expects success.
Comment 1 Frans Englich 2009-10-13 13:46:13 UTC

*** This bug has been marked as a duplicate of bug 6941 ***
Comment 2 Michael Kay 2010-10-21 09:09:49 UTC
This bug is still present in the 1.0.3 version of the test suite.
Comment 3 O'Neil Delpratt 2016-04-05 14:57:48 UTC
This bug issue has been fixed in the QT3 test suite therefore I am closing it.