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 expected test results for fn-doc-23 should be a copy of the input document. In fact they differ. The published results show the symptoms of having been produced using a version of Saxon in which the following bug was present: http://sourceforge.net/tracker/index.php?func=detail&aid=1797006&group_id=29872&atid=397617 Sorry about that!
Anyone wanting to investigate this problem or other problems in this test might care to reuse the following query, with appropriate modifications: let $doc0 := doc('TestSources/complexWhitespace.xml'), $doc1 := doc('ExpectedTestResults/Functions/NodeSeqFunc/SeqDocFunc/fn-doc-23.txt'), $doc2 := doc('ActualResults/Functions/NodeSeqFunc/SeqDocFunc/fn-doc-23.out') for $node1 at $i in $doc1//textNode, $node2 in ($doc2//textNode)[$i] where $node1 ne $node2 return <difference node="{$i}"> <gold>{string-to-codepoints($node1)}</gold> <actual>{string-to-codepoints($node2)}</actual> </difference>
Yes, on my todo since the fix was in :) *** This bug has been marked as a duplicate of bug 4956 ***