<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Mapserver users,<div>maybe somebody can help me to get my WFS working:</div><div><br></div><div><!-- MapServer version 6.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE --><br><br>ubuntu 12.04 LTS</div><div><br></div><div>This is the Layer definition from the map file:<br><br>LAYER<br>     ...<br>       METADATA<br>           "wfs_title" "Image Catalog"<br>           "ows_extent"  "211500 2231500 261500 2281500"<br>           "wfs_srs" "EPSG:4326 EPSG:3857 EPSG:32615 EPSG:32616 EPSG:32617"<br>           "wfs_featureid" "id" ## REQUIRED since 4.10<br>           "gml_include_items" "all"<br>           "gml_exclude_items" ""<br>           "wfs_enable_request"  "*"<br>           "wfs_getfeature_formatlist"  "GEOJSON,SHAPEZIP,CSV"<br>           "gml_constants" "dataaccessbaseurl,datapreviewbaseurl"<br>           "gml_dataaccessbaseurl_type" "Character"<br>           "gml_dataaccessbaseurl_value" "<a href="http://10.10.4.41/cgi-bin/test.cgi?SERVICE=WCS&REQUEST=GetCoverage&IDENTIFIER=testdata_raw&VERSION=1.1.0">http://10.10.4.41/cgi-bin/test.cgi?SERVICE=WCS&REQUEST=GetCoverage&IDENTIFIER=testdata_raw&VERSION=1.1.0</a>"<br>           "gml_datapreviewbaseurl_type" "Character"<br>           "gml_datapreviewbaseurl_value" "<a href="http://10.10.4.41/cgi-bin/test.cgi?SERVICE=WMS&REQUEST=GetMap&LAYERS=testdata_view&VERSION=1.3.0">http://10.10.4.41/cgi-bin/test.cgi?SERVICE=WMS&REQUEST=GetMap&LAYERS=testdata_view&VERSION=1.3.0</a>"<br>           "gml_types" "auto"<br>           "wfs_geomtype"  "Polygon"<br>       END<br>      …<br>END</div><div><br></div><div>When i execute a GetFeature request Firefox shows the following error:<br><br><a href="http://10.10.4.41/cgi-bin/PlenumWCS.cgi?SERVICE=WFS&VERSION=1.1.0&REQUEST=getfeature&TYPENAME=catalog&MAXFEATURES=100">http://10.10.4.41/cgi-bin/PlenumWCS.cgi?SERVICE=WFS&VERSION=1.1.0&REQUEST=getfeature&TYPENAME=catalog&MAXFEATURES=100</a><br><br>XML Parsing Error: not well-formed<br>Location: <a href="http://10.10.4.41/cgi-bin/test.cgi?SERVICE=WFS&VERSION=1.1.0&REQUEST=getfeature&TYPENAME=catalog&MAXFEATURES=100">http://10.10.4.41/cgi-bin/test.cgi?SERVICE=WFS&VERSION=1.1.0&REQUEST=getfeature&TYPENAME=catalog&MAXFEATURES=100</a><br>Line Number 35, Column 102: <ms:dataaccessbaseurl><a href="http://10.10.4.41/cgi-bin/test.cgi?SERVICE=WCS&REQUEST=GetCoverage&IDENTIFIER=testdata_raw&VERSION=1.1.0%3C/ms:dataaccessbaseurl%3E">http://10.10.4.41/cgi-bin/test.cgi?SERVICE=WCS&REQUEST=GetCoverage&IDENTIFIER=testdata_raw&VERSION=1.1.0</ms:dataaccessbaseurl></a><br></div><div><br></div><div><br></div><div>The XML doc seems to be ok when i check the page source.</div><div><br></div><div>Any idea how this can be resolved. I would expect that the character field can handle also a url string.</div><div><br></div><div>Thanks for any hint to resolve the issue.</div><div>Kind regards,</div><div>Peter</div><div><br><div apple-content-edited="true"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">-- <br>Peter Freimuth </div><div><br></div></div></div><div apple-content-edited="true"><br>
</div>
<br></body></html>