[mapguide-trac] #906: GETCAPABILITIES and DESCRIBESCHEMA with WFS does not match

MapGuide Open Source trac_mapguide at osgeo.org
Sat Mar 14 08:07:39 EDT 2009


#906: GETCAPABILITIES and DESCRIBESCHEMA with WFS does not match
-----------------------------+----------------------------------------------
   Reporter:  ksgeograf      |       Owner:       
       Type:  defect         |      Status:  new  
   Priority:  low            |   Milestone:       
  Component:  WFS Interface  |     Version:  2.0.1
   Severity:  trivial        |    Keywords:       
External_id:                 |  
-----------------------------+----------------------------------------------
 When issuing the "GETCAPABILITIES" call for WFS on MapGuide, the
 following fragment is part of the response:
 <FeatureType>
 <Name>ns180401301:BuildingOutlines</Name>
 <Title>Building Outlines</Title>
 <Abstract>Building Outlines.</Abstract>
 <Keyword>Buildings, Outlines</Keyword>
 <SRS>EPSG:4326</SRS>
 <LatLongBoundingBox minx="-87.74" miny="43.68" maxx="-87.69"
 maxy="43.815"/>
 </FeatureType>

 The name is set to be "ns180401301:BuildingOutlines", where the prefix
 is some random number to prevent name clashes, I presume.

 When issuing the the "DESCRIBEFEATURETYPE" call for the above type, this
 fragment is part of the response:
 <xs:schema xmlns:xs="..." xmlns:fdo="..." xmlns:gml="..."
 xmlns:SHP_Schema="..." elementFormDefault="qualified"
 attributeFormDefault="unqualified">
   <xs:element name="BuildingOutlines"
 type="SHP_Schema:BuildingOutlinesType" abstract="false"
 substitutionGroup="gml:_Feature">
     <xs:key name="BuildingOutlinesKey">
       <xs:selector xpath=".//BuildingOutlines"/>
       <xs:field xpath="Autogenerated_SDF_ID"/>
     </xs:key>
   </xs:element>

 In the response, the name is now missing the prefix. Also, the prefixed
 namespace is not listed in the "GETCAPABILITIES" response.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/906>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list