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 4158 - Static typing of K-StringToCodepointFunc-15, 16, 17, 18, 19, 21
Summary: Static typing of K-StringToCodepointFunc-15, 16, 17, 18, 19, 21
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 1.0.2
Hardware: PC Windows XP
: 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: 2007-01-08 17:03 UTC by Tim Mills
Modified: 2007-01-22 09:05 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2007-01-08 17:03:10 UTC
Since the filter expression [0 + last()] is not a numeric literal, the types supplied to the eq operator are integer* and integer, hence a static type checking error is reported.

(:*******************************************************:)
(: Test: K-StringToCodepointFunc-15                      :)
(: Written by: Frans Englich                             :)
(: Date: 2006-10-05T18:29:39+02:00                       :)
(: Purpose: Combine string-to-codepoints() and a predicate. :)
(:*******************************************************:)
string-to-codepoints("Thérèse")[0 + last()] eq 101
Comment 1 Frans Englich 2007-01-21 12:45:51 UTC
A fix has been attempted in CVS, and XQTS_current.zip has been updated to contain the new change. If it can be verified that the change is correct, it would be appreciated.

If this resolution is satisfiable, feel free to change status to closed. Otherwise, reopen this report. If no opinion on the resolution is expressed within two weeks, I will change status to closed.

This change to this report was part of a batch-change of several reports.
Comment 2 Tim Mills 2007-01-22 09:05:41 UTC
These tests are now all fixed.  Thanks.