Opened 16 years ago

Closed 16 years ago

#2575 closed defect (fixed)

gml3.1 SFL0 Envelop element incorrect

Reported by: assefa Owned by: assefa
Priority: normal Milestone: 5.2 release
Component: WFS Server Version: unspecified
Severity: normal Keywords:
Cc: sdlime, tomkralidis, dmorissette

Description

We currently generate (in function gmlWriteBounds_GML3) gml:pos as elements of the Envelope. The spec for SFL0 allows only to generate lowerCorner and upperCorner. Note the the full gml3.1 allows both pos and lower/upper corner.

Change History (5)

comment:1 by assefa, 16 years ago

Cc: sdlime added
Owner: changed from mapserverbugs to assefa
Status: newassigned

Steve,

I would like to commit this change. Would you see any problem with that? Note that this bug occurred when I was trying to setup a cite wfs1.1 test.

comment:2 by tomkralidis, 16 years ago

Cc: tomkralidis added

Assefa: would function msGML3BoundedBy in mapgml.c be of any use here?

comment:3 by assefa, 16 years ago

Tom, I review the discussions we had a year ago regarding the the GetFeature support using libxml2 and both arguments that were mentioned are still valid:

  • memory increase required to compose large XML structures in libxml2, as in WFS GetFeature responses, may be excessive
  • rewriting large chunks of code from msIO_printf to libxml2 will likely introduce bugs into otherwise stable code.

In the case of wfs1.1, I am not touching the GetFeature output which is already producing a gml3. I am merely trying in this case to make sure that It validates.

comment:4 by dmorissette, 16 years ago

Cc: dmorissette added

comment:5 by assefa, 16 years ago

Resolution: fixed
Status: assignedclosed

committed in r7518

Note: See TracTickets for help on using tickets.