[mapserver-users] invalid schema location?
Roy Braam
roybraam at b3partners.nl
Mon Apr 26 04:25:39 PDT 2010
Hello List,
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>
If i read this site:
http://www.w3.org/TR/xmlschema-0/#schemaLocation
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...
So, is mapserver generating a invalid XML?? Or i'm doing something wrong....
Version of mapserver = 5.6.3
Roy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100426/4a142af5/attachment.htm>
More information about the MapServer-users
mailing list