Ticket #2709 (closed defect: fixed)
GML driver doesn't like feature class called 'polygon'
|Reported by:||rouault||Owned by:||warmerdam|
GMLHandler::endElement() is confused when it encounters the closing </gml:Polygon> tag of a feature class called 'polygon' (lower case). The solution is to make the comparisons case sensitive.
A CPLAssert(FALSE) is easily triggered with gml.xml from http://home.gdal.org/projects/gml/gml_samples.zip, and GDAL compiled with -DDEBUG
Very similar to #2215.