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 query valstrict-ins-005-test.xq there are some spaces after the closing tags </c>, </e>, and </f>. These spaces are omitted from the expected result for this test. The same problem exists in the following tests as well: valstrict-del-002 valstrict-del-004 valstrict-ins-003 valstrict-ins-005 valstrict-ins-007 valstrict-ren-003 valstrict-repnode-003 and the revalidate-xxx versions of the above.
I'm inclined to see the problem the other way round - see bug #7793. I think there is too much whitespace in the results. You say: In query valstrict-ins-005-test.xq there are some spaces after the closing tags </c>, </e>, and </f>. These spaces are omitted from the expected result for this test. But this is boundary whitespace, as defined in section 3.7.1.4 of the XQuery 1.0 spec, and by default boundary whitespace in the query has no significance. The whitespace in the result comes not from copying the boundary whitespace in the query, but from running the serializer (incorrectly) with indent=yes. I am proposing to regenerate the results using indent=no, and this will eliminate the whitespace that is currently there.
I have regenerated the results with indent="no" omit-xml-declaration="yes", so I believe the problem is now fixed, and am closing the bug accordingly.