This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The following tests were DTD based in previous versions of XQTS. The document being queried is now based on an xsd. As such InfoSet-based implementations behave different and return an empty sequence for the following tests: fn-id-12.xq fn-id-13.xq fn-id-15.xq fn-id-16.xq fn-id-17.xq fn-id-18.xq fn-id-20.xq fn-id-21.xq fn-id-23.xq fn-id-5.xq fn-id-7.xq fn-id-8.xq fn-id-9.xq Thanks, Marc
Further, if the processor succeeds in locating the IDs, the results are no longer those documented. The source file has acquired two extra namespaces, which are in scope for the selected elements, and which should therefore appear in the result files.
Michael/Mark: Thanks for your comments. Provided results with expected namespaces and alternate results for info-set vbased implementations. Thanks, Carmelo
Issue verified and indeed fixed. Closing.
It seems the result files (in the 1.0.1 distribution) still have incorrect namespaces. The source file id.xml declares the namespace xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" which should have been copied to the result, while the result file declares xmlns:xs = "http://www.w3.org/2001/XMLSchema" which comes from nowhere. I'm slightly embarrassed to be reporting this bug after claiming to have passed the tests. In fact, my pass was qualified with the comment "matches after stripping whitespace nodes". It appears that the process I was using to strip whitespace nodes had the side-effect of stripping unused namespaces, and it was this that caused the apparent match in the results.
The bug (see comment #4) can be fixed by changing all occurrences of xmlns:xs = "http://www.w3.org/2001/XMLSchema" to xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" in the following test results (in SchemaImport/MiscFunctions) fn-id-5,7,8,9,12,13,15,16,17,18,19,20,21,23 fn-idref-5,7,8,9,15,16,17,18,19,20,21,23 In addition the "alternative" results fn-idrefalt-7 and fn-idrefalt-8 should be deleted. They are wrong (missing required namespaces).
I've changed the xs namespace declaration to xsi in the expected results that you indicated in comment 5. Carmelo, please take a look at the "alternative" results that Mike mentions.
Mike: Thanks for reporting. I will fix it as soon as I gey my CVS back in order. Thanks, Carmelo
Mike/Andrew: Thanks for the comments and node. I removed the extra references to fn-idrefalt-7 and fn-idrefalt-8, though, I am not sure if that solves the problem entirely. Thanks, Carmelo