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 2962 - XPDY0002 or FONC0001?
Summary: XPDY0002 or FONC0001?
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.6
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-02 11:40 UTC by Marc Van Cappellen
Modified: 2006-07-06 13:02 UTC (History)
1 user (show)

See Also:


Attachments

Description Marc Van Cappellen 2006-03-02 11:40:31 UTC
A number of tests expect FONC0001, but the reported error should be XPDY0002.

One example, fn-name-23.xq:
  fn:name(.)
As the dot expression is used, XPDY0002 is the appropriate error.
A query as follows, should raise FONC0001:
  fn:name()

Please change the expected error code in the XQTS catalog.

Here is the complete list:
fn-base-uri-22.xq
fn-string-3.xq
fn-name-23.xq
fn-lang-22.xq
fn-local-name-23.xq
fn-namespace-uri-26.xq
fn-number-4.xq
fn-root-24.xq

Thanks,
Marc
Comment 1 Andrew Eisenberg 2006-03-22 22:06:48 UTC
The functions that you mention have been affected by the resolution of CR issue
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2681.

At our joint XML Query/XSL WG meeting on May 14 we recorded the following:

Decision: Change references to errors FONC0001 and FOTY0011 to XPTY0002 and 
XPTY0004 in the text resolving Bug #2681

It is our intent to change the error codes expected for the test cases that you've mentioned.

Please close this bug report if you agree with our resolution of ths issue.
Comment 2 Marc Van Cappellen 2006-05-12 06:43:03 UTC
We agree with the resolution, but apparently in XQTS 0.9.0 the expected error code is still FONC0001. As such we have reopened this bug.

Take for example the fn:name tests (but it also applies to the other tests listed in the description):
For both fn-name-23 and fn-name-7 the XQTSCatalog specifies FONC0001 as expected error.
Comment 3 Carmelo Montanez 2006-05-12 15:16:03 UTC
Marc:

Thanks for pointing this out.  The test case entries were corrected to reflect the appropriate code.  Please close the bug if in agreement.

Thanks,
Carmelo
Comment 4 Tom Brosens 2006-07-06 13:02:46 UTC
We agree. Closing.

Thanks,
Tom.