GML 3 support
Bart van den Eijnden (OSGIS)
bartvde at OSGIS.NL
Fri Feb 2 15:26:56 EST 2007
Hi list,
I am trying to setup Mapserver's GML 3.1.1 support (using Mapserver 4.10.0)
but I am running into a validation error with XML Spy 2006, the error is:
File c:\Documents and Settings\bart\My Documents\gml3\provinces.xml could
not be validated because of an error in XML Schema/DTD (see below)
File
http://localhost/cgi-bin/mapserv.exe?map=/lausanne/mapserver/provinces_of_holland.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=nl-prov&OUTPUTFORMAT=SFE_XMLSCHEMA
is not valid.
'gml:MultiSurfacePropertyType' must refer to an existing simple or
complex type.
Error location: schema / complexType / complexContent / extension /
sequence / element / @type
Details
src-resolve.4.2: Cannot resolve declaration or definition
'gml:MultiSurfacePropertyType'.
Should the include in the schema not be gml.xsd instead of feature.xsd? If I
change that the schema validates.
<import namespace="http://www.opengis.net/gml"
schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd" />
instead of
<import namespace="http://www.opengis.net/gml"
schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/feature.xsd" />
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl
More information about the mapserver-dev
mailing list