Opened 15 years ago
Closed 15 years ago
#2709 closed defect (fixed)
GML driver doesn't like feature class called 'polygon'
Reported by: | Even Rouault | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.4 |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | gml |
Cc: |
Description
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.
Note:
See TracTickets
for help on using tickets.
Fixed in trunk in r15282, in branches/1.6 in r15283 and in branches/1.5 in r15284