As far as I can tell from reading the source, there's no deliberate intention one way or another.
However, from a strict/pedantic point of view, the example you give is demonstrating correct behavior; due to whitespace, the second document contains nodes not present in the first one.