- output XML: xmldoc.setXmlStandalone is set to false for KAF and NAF. XML header:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

please produce this:

<?xml version="1.0" encoding="UTF-8"?>