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&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=LL&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 , 14 years ago
Component: | MapServer C Library → WFS Server |
---|---|
Owner: | changed from | to
comment:2 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
FYI committed to trunk and msautotest in r11174.