fixed ext/xmlwriter
fixed ext/xmlwriter