Whitespaces in GML output of WFS request

Jürgen Link juergen.link at BGS-AG.DE
Wed May 11 10:56:16 EDT 2005


The GML output of a wfs GetFeature request seems to be pretty-printed
(look here for example:
http://www2.dmsolutions.ca/cgi-bin/mswfs_gmap?SERVICE=WFS&VERSION=1.0.0
&REQUEST=getfeature&TYPENAME=park).
The element <gml:coordinates> is followed by a line feed, several tabs and
spaces.
What is quite convenient for a reader's eye means, that most tools
(OpenEV_FW, deegreeViewer, Jump ...) run into error when parsing the XML
document.

Is there any way to switch off pretty printing (most people will not want
to read XML)?
Did anybody else work around the problem differently??

Cheers,
Jürgen
--
Dr. Jürgen Link
BGS Systemplanung AG
http://www.bgs-ag.de
E-Mail juergen.link at bgs-ag.de
Phone: 02241 166-530
Fax:   02241 166-680
Mobile: 0160 97262616


More information about the mapserver-users mailing list