[Bug 5393] CVS: fn-doc-available-4 and xml:id errors

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5393





------- Comment #2 from tim@cbcl.co.uk  2008-03-03 09:02 -------
I note that the expected result has now changed from false to true.

Given that it is implementation defined whether xml:id processing occurs for
fn:doc (therefore affecting fn:doc-available), I believe that for an
XQuery-conformant implementation, fn:doc-available may:

1. return true (because it does not perform xml:id processing with fn:doc)
2. return false (because it does perform xml:id processing with fn:doc, fn:doc
would raise an implementation-defined error rather than returning a document
node)

As such, I think this test is testing implementation-defined functionality, and
probably needs to be shuffled out of the "minimal conformance" section.

Received on Monday, 3 March 2008 09:02:17 UTC