Opened 14 years ago

Closed 13 years ago

#3447 closed defect (fixed)

Invalid schemaLocation returned when doing a getFeature request

Reported by: rbraam Owned by: tomkralidis
Priority: normal Milestone:
Component: WFS Server Version: 5.6
Severity: normal Keywords: schema wfs invalid xml
Cc:

Description

When i do a WFS getFeature request mapserver returns a xml that starts with:

<?xml version='1.0' encoding="ISO-8859-1" ?> <wfs:FeatureCollection

xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mapserver.gis.umn.edu/mapserver http://server.nl/geoservices/aankoopgebieden?SERVICE=WFS&amp;VERSION=1.1.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=LL&amp;OUTPUTFORMAT=text/xml; subtype=gml/3.1.1 http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" numberOfFeatures="16">

<gml:boundedBy>

the schema locations needs to be "pairs of URI references, separated by white space". Because the OUTPUTFORMAT="text/xml; subtype=gml/3.1.1" a space is in the url of the first pair in my example. 1) spaces are not valid in URLS?? 2) you don't have pairs anymore. You have a odd number of values if you separate by space...

Change History (3)

comment:1 by assefa, 14 years ago

Component: MapServer C LibraryWFS Server
Owner: changed from sdlime to mapserverbugs

comment:2 by tomkralidis, 13 years ago

Owner: changed from mapserverbugs to tomkralidis
Status: newassigned

comment:3 by tomkralidis, 13 years ago

Resolution: fixed
Status: assignedclosed

FYI committed to trunk and msautotest in r11174.

Note: See TracTickets for help on using tickets.