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 results contain unexpected whitespace between the <department> and <employee> elements.
Bug fix applied as suggested.
Still not quite right I'm afraid. There is some whitespace in the input file between </name> and <job> which is absent from the expected result. I'd suggest eliminating whitespace in the input to make life easier.
I have decided to fix this by using XPath in the assertions. Changed to use the <assert/> tag