appserver: xml_insert_result_string needs ending space as placeholder for terminating null for strings