XmlWriter: StructuredHandler: implemented optimized text buffering