https://bugs.winehq.org/show_bug.cgi?id=53965
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- My guess is that closing a single top level element is an equivalent of end-of-document. Unless something really depends on being able to write after end-of-document, this issue could only serve for documentation purposes.