This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
This test shows a limitation of the current test suite. The "code" attribute is an NCName, and the check assumes that the expected error is in the standard error namespace. In this test, the assumption does not hold. <test-case name="try-catch-fn-error-1" covers="fn-error"> <description>Try-catch must match fn:error semantics.</description> <created by="Ghislain Fourny" on="2012-10-03"/> <test>fn:error(fn:QName("http://www.example.com/", "example:EXER3141"))</test> <result> <error code="EXER3141"/> </result> </test-case>
Actually the schema currently allows union(NCName, "*"). I will fix this so it also allows an EQName, and change this test to use an EQName. Test drivers, of course, will have to adapt.
Thanks.