fixed XmlWriterBaseImpl.attribute(..) NullPointerException