Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#433 closed defect (fixed)

WFS exception XML is invalid

Reported by: tom.kralidis@… Owned by: dmorissette
Priority: high Milestone:
Component: WFS Server Version: 4.0
Severity: normal Keywords:
Cc:

Description

Hi,

Exception responses return XML which is not well-formed (I won't get into the
fact that the document is not valid ;)

Steps:

- Make the following request (note "request=GetFeaturet" instead of
"request=GetFeature")

http://www.kralidis.ca/cgi-bin/mapserv/mapserv_40?map=/www/websites/www.kralidis.ca/htdocs/gis/mapserv/travels/travels.map&version=1.0.0&service=WFS&request=GetFeaturet&typename=travels&

- view bad XML

As a result, my (and all other half-decent) XML parsers choke.

It's the BR tag in the exception message.  You may want to encode it as an empty
tag, or encode exceptions as per the spec.

Change History (3)

comment:1 by nsavard@…, 21 years ago

Cc: assefa@… added
The non terminated tag <br> appears in the example presented in the bug 429. 
This is a test case executed by the OGC test suite.

comment:2 by assefa, 21 years ago

Resolution: fixed
Status: newclosed
Fixed.

comment:3 by dmorissette, 21 years ago

Note this was done in V4.1 (CVS)
Note: See TracTickets for help on using tickets.