[Geoserver-devel] Sanity check on default XMLSchema Base

Currently the default is AbstractFeatureType, I am not sure if this is correct?

I am starting to suspect that NullType will be a more suitable base as a default, and for generated describe feature type information.

DataTransferObjectFactory defines:

    public static Map schemaBaseMap = new HashMap();
    static {
        schemaBaseMap.put("AbstractFeatureType",
            new String {"description","name","boundedBy"} );
        schemaBaseMap.put("AbstractFeatureCollectionBaseType",
            new String {"description","name","boundedBy"} );
        schemaBaseMap.put("GeometryPropertyType",
            new String {"geometry"} );
        schemaBaseMap.put("FeatureAssociationType",
            new String {"feature"} );
        schemaBaseMap.put("BoundingShapeType",
            new String {"box"} );
        schemaBaseMap.put("PointPropertyType",
            new String {"point"} );
        schemaBaseMap.put("PolygonPropertyType",
            new String {"polygon"} );
        schemaBaseMap.put("LineStringPropertyType",
            new String {"lineString"} );
        schemaBaseMap.put("MultiPointPropertyType",
            new String {"multiPoint"} );
        schemaBaseMap.put("MultiLineStringPropertyType",
            new String {"multiLineString"} );
        schemaBaseMap.put("MultiPolygonPropertyType",
            new String {"multiPolygonString"} );
        schemaBaseMap.put("MultiGeometryPropertyType",
            new String {"multiGeometry"} );
        schemaBaseMap.put("NullType", new String {} );
    }