This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In these two tests, the reference results contain an unwarranted blank line at the start.
Michael: Thanks. Not exeactly sure why Saxon generates the extra line. Either way, I removed it from the expected results. Thanks, Carmelo
Michael, Carmelo, Please correct us if we're wrong, but as far as we can judge the 0D0A at the start should not have been removed. Consider unabbreviatedSyntax-4. The query selects all child nodes of the first employee element in works-mod.xml (which is not schema validated). The first child node is a text node with hex content '0D0A202020', not '202020' as suggested in the result file. Note that, at the end, the last node is also a text node with content '0D0A2020' and that one is indeed in the result file. The same is true for unabbreviatedSyntax-5. Thanks, Tom. (We're using XQTS_current.zip v1.8)
Looking at it again, I think you're right. My comparator for compare="fragment" seems to be regarding the CR as a whitespace-difference in the results, whereas it should of course be normalized out. So the bug appears to be in my test driver. Apologies for the noise.