This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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
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.
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.
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
We agree. Closing. Thanks, Tom.