Opened 11 years ago

Closed 11 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


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, and GDAL compiled with -DDEBUG

Very similar to #2215.

Change History (1)

comment:1 Changed 11 years ago by Even Rouault

Resolution: fixed
Status: newclosed

Fixed in trunk in r15282, in branches/1.6 in r15283 and in branches/1.5 in r15284

Note: See TracTickets for help on using tickets.