This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5088 - fn-doc-23
Summary: fn-doc-23
Status: RESOLVED DUPLICATE of bug 4956
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-29 18:50 UTC by Michael Kay
Modified: 2007-10-01 10:06 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2007-09-29 18:50:32 UTC
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!
Comment 1 Michael Kay 2007-09-29 18:56:07 UTC
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>  
Comment 2 Frans Englich 2007-10-01 10:06:12 UTC
Yes, on my todo since the fix was in :)

*** This bug has been marked as a duplicate of bug 4956 ***