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 5434 - [XQTS] Expected results of some K-SeqExprInstanceOf tests
Summary: [XQTS] Expected results of some K-SeqExprInstanceOf tests
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC All
: 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: 2008-01-28 14:05 UTC by Oliver Hallam
Modified: 2008-02-29 16:17 UTC (History)
0 users

See Also:


Attachments

Description Oliver Hallam 2008-01-28 14:05:04 UTC
K-SeqExprInstanceOf-59 is as follows:

(error(), 1) instance of empty-sequence()

It can be statically inferred that the type of the argument is (none, xs:integer) and so this query could be optimized down to:

false()

However the test expects an FOER0000 error to be raised.

K-SeqExprInstanceOf-62 and K-SeqExprInstanceOf-63 also both expect an error to be raised when the result of the instance of expressions can be deduced statically.
Comment 1 Frans Englich 2008-02-29 16:17:52 UTC
A fix has been attempted in CVS. Feel free to verify and close if it is satisfactory.