private void writeDescription(SimpleFeature feature,
final SimpleFeatureType schema) throws IOException {
if (vectorNameDescription) {
// descriptions are "templatable" by users, so see if there is a
// template available for use
GeoServerTemplateLoader templateLoader = new GeoServerTemplateLoader(
getClass());
templateLoader.setFeatureType(schema);
Template template = null;
// Configuration is not thread safe
synchronized (templateConfig) {