//create the schema
DescribeFeatureTypeType req = (DescribeFeatureTypeType)describeFeatureType.getParameters()[0];
XSDSchema schema = schemaBuilder.build(featureTypeInfos, req.getBaseUrl());
//serialize
schema.updateElement();
final String encoding = global.getCharset();
XSDResourceImpl.serialize(output, schema.getElement(), encoding);
}
public static class V20 extends XmlSchemaEncoder {