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 3470 - K-StringFunc-2 and implicit context item
Summary: K-StringFunc-2 and implicit context item
Status: CLOSED INVALID
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.9.4
Hardware: Macintosh All
: P2 normal
Target Milestone: ---
Assignee: Frans Englich
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-14 20:36 UTC by Martin Probst
Modified: 2006-07-15 12:05 UTC (History)
0 users

See Also:


Attachments

Description Martin Probst 2006-07-14 20:36:00 UTC
K-StringFunc-2:

if(true()) then true() else string()

I believe this is an illegal test - the if expression does not set a context item, and string() without a parameter relies on the existence of a context item. The implementation is allowed to give an error here, even if it's on the else path of the conditional (and it's pretty easy to detect statically ...).
Comment 1 Frans Englich 2006-07-14 23:16:31 UTC
In the internal version this test has a text baseline of "true", and the error XPDY0002, which I believe is as you suggest. That is, this has already been fixed. Therefore I am resolving this report as invalid.

However, if it still remains in PublicPagesStagingArea/XQTS_current.zip or in the 1.0 release, reopen this bug. If the resolution is satisfactory, feel free to change status to CLOSED.


Frans

Comment 2 Martin Probst 2006-07-15 11:57:49 UTC
I'd really appreciate public access to the CVS. There are so many issues I'm running into that seem to be already fixed, and I can't even check for the fix in the mean time.

Thanks anyways, I'm closing this (even though I can't really check).
Comment 3 Frans Englich 2006-07-15 12:05:49 UTC
Public CVS access has existed since 0.9.4 was released. See this page:

http://www.w3.org/XML/Query/test-suite/

section "Accessing our Source Files"

The latest XQTS package is PublicPagesStagingArea/XQTS_current.zip(that's the one you want, likely).