[Mapserver-users] wfs and mapserver4.0.1
Yewondwossen Assefa
assefa at dmsolutions.ca
Thu Jan 22 07:44:08 PST 2004
Debbie,
I can't seem to reproduce this with my test files using 4.0.1. Is it
possible to send me your map file to see if I can reproduce it? If it
happens with all shapefiles, I am assuming data is not the problem and
might be some setting in the map file.
Later,
Debbie Pagurek wrote:
> Hi all,
> is there a bug in wfs in mapserver4.0.1 -
> I keep getting an error for my request:
> http://latlong24.gis.agr.gc.ca/cgi-bin/mapserv-4.0.1-new?map=/usr/www/httpd/htdocs/mapdata/debtest/wfscanada.map&version=1.0.0&service=wfs&request=GetFeature&TypeName=canada&Propertyname=NAME
> <http://latlong24.gis.agr.gc.ca/cgi-bin/mapserv-4.0.1-new?map=/usr/www/httpd/htdocs/mapdata/debtest/wfscanada.map&version=1.0.0&service=wfs&request=GetFeature&TypeName=canada&Propertyname=NAME>
>
>
> The XML page cannot be displayed
>
> Cannot view XML input using XSL style sheet. Please correct the error
> and then click the Refresh <javascript:location.reload()> button, or try
> again later.
>
> ------------------------------------------------------------------------
>
> A name was started with an invalid character. Error processing resource
> 'http://latlong24.gis.agr.gc.ca/cgi-bin/mapserv-4.0.1-new?map=/usr/www/httpd/htdocs/mapdata/debtest/wfscanada.map&version=1.0.0&service=wfs&request=GetFeature&TypeName=canada&Propertyname=NAME'.
> Line 24, Position 10
>
> <>
>
> and when I do a view source, what i see is that an extra empty tag <>
> that occurs after all of the fields have been listed. e.g. that part of
> the gml output:
>
> <gml:featureMember>
> <canada>
> <AREA>585860.072</AREA>
> <CODE>CA10</CODE>
> <NAME>Quebec</NAME>
> <POP1991>6895963</POP1991>
> <POP91_SQMI>13.163780</POP91_SQMI>
> <>
>
> this happens for whatever shapefile I am using.
>
> Also, I did try using the latest dev version 4.1 (the windows binary that
> Assefa made available a little while ago, and this problem goes away.
>
> Just wondering if I'm creating an incorrect request or if this is a
> known bug. Also trying to figure out which version of mapserver to
> install on our servers.
>
> Thanks,
> D. Pagurek
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list