Fix GML parser compatibility with Python 3.2