XMLPrinter::ClearBuffer shouldn't set _firstElement to true, unless called after the document is completely generated. Otherwise, the layout of the XML file is messed up when the buffer is flushed intermittently. This commit enables this using a default-initialized parameter, chosen such that the existing behavior remains uneffected.
69 KiB
Executable File
69 KiB
Executable File