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 2491 - fn-lang-2 results are wrong
Summary: fn-lang-2 results are wrong
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-09 10:33 UTC by Michael Kay
Modified: 2006-06-22 12:57 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-11-09 10:33:21 UTC
fn-lang-2 results are wrong. The query is

fn:count(fn:lang(()))

which cannot possibly produce the result "false".

The correct answer is 1, as one can tell purely by looking at the function
signature.
Comment 1 Carmelo Montanez 2005-12-01 22:34:43 UTC
Mike:

This was an earlier (Incorrect) version of the test that should not have
been commited.  I did submitted a new version of the test and expected results.
Please close the bug if in agreement.

Thanks,
Carmelo