missing default parameter for compact mode in XMLPrinter
setting the version to 2.1.0