This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In put-011, FODC0005 is expected from fn:doc() if a resource cannot be found In the XQuery 1.0 Test Suite, CVS version a very similar case (fn-doc-3) gives FODC0002. This could as well be that I'm missing some of subtle differences in fn:doc or an issue in the XQuery test suite.
I believe that F&O allows an implementation to raise either FODC0002 or FODC0005 when a resource cannot be retrieved during an invocation of fn:doc. I've modified the expected results for put-011 to include both of these errors. I believe that the same is true of fn-doc-3 and I suggest that you open a bug report to that effect. Please close this bug report if you agree with this resolution.
(In reply to comment #1) > I believe that F&O allows an implementation to raise either FODC0002 or > FODC0005 when a resource cannot be retrieved during an invocation of fn:doc. > > I've modified the expected results for put-011 to include both of these errors. > > I believe that the same is true of fn-doc-3 and I suggest that you open a bug > report to that effect. Can you point me to the Product/Component for the "regular" test suite - I could not find it when searching > Please close this bug report if you agree with this resolution. >