This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
errors-and-optimization-1 is marked in the catalog as expecting a runtime error. The query contains a type error (XPTY0004). The catalog entry has no expected-error element. errors-and-optimization-6 contains a static error (XPST0017) - fn:QName expects two arguments. The catalog lists it as expecting FOCA0002 (: Name: errors-and-optimization-6.xq :) (: Description: Expressions must not be rewritten in such a way as to create or remove static errors. :) (: insert-start :) (: insert-end :) let $s := "var:QName" return QName($s)
I have checked in result files for queries 1 and 3 - was 6 the right number here?
Yes. There was a change required for 6.
errors-and-optimization-1 also now has a spurious newline at the end of the result.
Fixed the error for errors-and-optimization-6 - it now expects XPST0017.
Thanks. errors-and-optimization-6 is fixed, but errors-and-optimization-1 remains in error. See Comment 3.
errors-and-optimization-6 is incorrectly marked in the catalog as is-XPath2="true".
(In reply to comment #5) > Thanks. > > errors-and-optimization-6 is fixed, but errors-and-optimization-1 remains in > error. OK, I've removed the extraneous newline now.
(In reply to comment #6) > errors-and-optimization-6 is incorrectly marked in the catalog as > is-XPath2="true". I modified it so it runs as either XQuery or XPath: for $s in "var:QName" return QName($s)
I can confirm that this is now fixed. Thanks.