Ticket #2709 (closed defect: fixed)
GML driver doesn't like feature class called 'polygon'
| Reported by: | 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.
Change History
Note: See
TracTickets for help on using
tickets.
