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 5982 - extraneous eols in complex-deletes-q1 and complex-deletes-q2
Summary: extraneous eols in complex-deletes-q1 and complex-deletes-q2
Status: CLOSED FIXED
Alias: None
Product: XQuery Update Facility Test Suite
Classification: Unclassified
Component: XQuery Update Facility Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: John Snelson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-22 15:46 UTC by Andrew Eisenberg
Modified: 2008-08-27 00:20 UTC (History)
1 user (show)

See Also:


Attachments

Description Andrew Eisenberg 2008-08-22 15:46:59 UTC
The expected result in complex-deletes-q1 begins with:

blank line
blank line
<?a-pi pi-1?>
blank line
<far-north> text-1A

and ends with:

</far-north>
<!-- Comment-6 -->
<?a-pi pi-6?>
<!-- Comment-7 -->


The document node corresponding to TopMany.xml should not have any text nodes outside of its root element, and so I expect the result to start with:

<?a-pi pi-1?><far-north> text-1A

and end with:

</far-north><!-- Comment-6 --><?a-pi pi-6?><!-- Comment-7 -->

The same issue exists with complex-deletes-q2. I expect the result to start with:

<!-- Comment-1 --><?a-pi pi-1?><!-- Comment-2 --><far-north> text-1A

and end with:

</far-north><?a-pi pi-6?>


These differences are significant because both of these test cases use the Fragment comparator. Changing them to use the XML comparator will fix the problem, as would changing the expected results as I've indicated. I'd suggest the former channge.
Comment 1 John Snelson 2008-08-22 15:59:13 UTC
Changing the comparison type to "XML" seems an acceptable solution.

Please note that my current bugzilla account uses my oracle.com email address, not my sleepycat.com one.
Comment 2 Andrew Eisenberg 2008-08-27 00:20:13 UTC
I've changed the comparators of these test cases to XML.