String uri = schemaLocation.toExternalForm();
XSD xsd = new org.geotools.gml2.ApplicationSchemaXSD(namespaceURI, uri);
Configuration configuration = new Configuration(xsd) {
{
addDependency(new XSConfiguration());
addDependency(gmlConfiguration); // use our GML configuration
}
protected void registerBindings(java.util.Map bindings) {
// we have no special bindings