Opened 19 years ago
Closed 19 years ago
#1439 closed defect (worksforme)
use element namespaces instead of element tag prefixes
Reported by: | Owned by: | mapserverbugs | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | WFS Client | Version: | 4.6 |
Severity: | normal | Keywords: | |
Cc: |
Description
The following is a legitimate WFS response, and usable with uDig (GeoTools) <?xml version="1.0" ?> <ns0:FeatureCollection xsi:schemaLocation="http://www.zcologia.com http://lenny:9001/mapserver/members/description.rpy http://www.opengis.net/wfs http://lenny:9001/schemas/wfs/1.0.0/WFS-basic.xsd" xmlns:ns0="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ns2:boundedBy xmlns:ns2="http://www.opengis.net/gml"> <ns2:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"> <ns2:coordinates cs="," decimal="." ts=" ">-180.0,-90.0 180.0,90.0</ns2:coordinates> </ns2:Box> </ns2:boundedBy> <ns2:featureMember xmlns:ns2="http://www.opengis.net/gml"> <ns3:users fid="user.41090800" xmlns:ns3="http://www.zcologia.com"> <ns3:mid>hobu2</ns3:mid> <ns3:fullname>Howard Butler</ns3:fullname> <ns3:the_geom> <ns2:Point srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"> <ns2:coordinates cs="," decimal="." ts=" " >-93.000000,42.000000</ns2:coordinates> </ns2:Point> </ns3:the_geom> </ns3:users> </ns2:featureMember> <ns2:featureMember xmlns:ns2="http://www.opengis.net/gml"> <ns3:users fid="user.57330048" xmlns:ns3="http://www.zcologia.com"> <ns3:mid>sgillies</ns3:mid> <ns3:fullname>Sean Gillies</ns3:fullname> <ns3:the_geom> <ns2:Point srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"> <ns2:coordinates cs="," decimal="." ts=" " >-105.070000,40.540000</ns2:coordinates> </ns2:Point> </ns3:the_geom> </ns3:users> </ns2:featureMember> </ns0:FeatureCollection> but can't be handled by MapServer, which seems to be looking not at the element namespaces, but at the tag prefixes.
Note:
See TracTickets
for help on using tickets.