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 2563 - fn-lang-15 expects FOTY0011
Summary: fn-lang-15 expects FOTY0011
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-12-02 23:35 UTC by Marc Van Cappellen
Modified: 2005-12-07 07:52 UTC (History)
0 users

See Also:


Attachments

Description Marc Van Cappellen 2005-12-02 23:35:26 UTC
fn-lang-15 expects FOTY0011, but the way it is currently written we believe 
that XPTY0019 (It is a type error if the result of a step (other than the last 
step) in a path expression contains an atomic value) is correct.

The test is currently as follows:

  for $x in (1)
    return $x/fn:lang("en-us")

We believe it would be better to write this test as follows

  1[fn:lang("en-us")]

This will test error condition FOTY0011

Thanks,
Marc
Comment 1 Carmelo Montanez 2005-12-06 21:37:28 UTC
Agree.  Test changed (as suggested) and re-submitted.  Please close bug if in 
agreement.

Carmelo
Comment 2 Marc Van Cappellen 2005-12-07 07:52:40 UTC
we're in agreement, close it.