go back to 1.3 for building until XmlWriter issue is fixed.
drop invalid XML character in XML writer.