WFS DescribeFeatureType response: xsd namespace?

Eijnden, B. van den (Bart) b.vdeijnden at AGI.RWS.MINVENW.NL
Thu Feb 2 08:33:51 EST 2006


Hi list,

I am currently comparing Mapserver's OGC interfaces to Ionic's OGC
interfaces.

When looking at the Mapserver DescribeFeatureType response, Mapserver does
not use the xsd namespace in the response, whereas Ionic does.

An example output from Mapserver is (excerpt only):

<schema targetNamespace="http://www.ttt.org/myns"
elementFormDefault="qualified" version="0.1">
<import namespace="http://www.opengis.net/gml"
schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/>
<element name="AAA35" type="myns:AAA35_Type"
substitutionGroup="gml:_Feature"/>
  <complexType name="AAA35_Type">
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
        ..

An example output from Ionic is (excerpt only):

<xsd:schema targetNamespace="http://www.ionicsoft.com/wfs"
elementFormDefault="qualified" version="0.1">
<xsd:import namespace="http://www.opengis.net/gml"
schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/>
<xsd:element name="bodemkaart50" substitutionGroup="gml:_Feature"
type="wfs:bodemkaart50"></xsd:element>
  <xsd:complexType name="bodemkaart50">
    <xsd:complexContent>
      <xsd:extension base="gml:AbstractFeatureType">
        <xsd:sequence>
        ..

So, I tried to get some confirmation about who is right or wrong by checking
Geoserver, but funnily enough this gives a third option, since Geoserver
uses xs as the namespace :-):

<xs:schema  targetNamespace="http://www.minvenw.nl/rws/agi"
xmlns:rwsagi="http://www.minvenw.nl/rws/agi"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified" version="1.0">
<xs:import namespace="http://www.opengis.net/gml"
schemaLocation="http://145.50.148.45:8082/geoserver/data/capabilities/gml/2.
1.2/feature.xsd"/>
  <xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema"
name="V_TOP50NAMEN_Type">
    <xs:complexContent>
       <xs:extension base="gml:AbstractFeatureType">
         <xs:sequence>
         ..

Who is right or wrong?

Best regards,
Bart


Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
informeren. Wij adviseren u om bij twijfel over de juistheid of de 
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************



More information about the mapserver-users mailing list