Fix source_xml_writer