Opened 11 years ago

Closed 11 years ago

#5007 closed defect (fixed)

WFS GML parse error with WFS 1.1.0 and streaming

Reported by: jpalmer Owned by: Even Rouault
Priority: normal Milestone: 1.10.0
Component: default Version: unspecified
Severity: normal Keywords: wfs ogr streaming
Cc:

Description

When I run this query the GML content for the feature is not parsed correctly:

ogrinfo -dialect sqlite -sql "select id, shape from \"v:x1571\" WHERE id = 3241251" WFS:'http://wfs.data.linz.govt.nz/84f646e35be34843abd9cee6085b50d6/v/x1571/wfs'

ERROR 1: XML parsing of GML file failed : mismatched tag at line 2, column 3621825

However if I turn off streaming by setting --config OGR_WFS_USE_STREAMING NO, the GML content is parsed correctly.

Change History (1)

comment:1 by Even Rouault, 11 years ago

Resolution: fixed
Status: newclosed

r25693 "/vsicurl_streaming/ : move the caching of the first megabyte of a file at the file handle level, and not the filesystem level, to avoid inconsistencies when the remote file changes (#5007)"

Note: See TracTickets for help on using tickets.