[Mapserver-users] wfs and mapserver4.0.1

Debbie Pagurek pagurekd at agr.gc.ca
Thu Jan 22 06:45:53 PST 2004


This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=_F0D1B235.F594BD6C
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

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

The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh 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

--=_F0D1B235.F594BD6C
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Description: HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px">
<DIV>Hi all,</DIV>
<DIV>is there a bug in wfs in mapserver4.0.1 -</DIV>
<DIV>I keep getting an error for my request:</DIV>
<DIV><A 
href="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</A></DIV>
<DIV> </DIV>
<DIV>
<TABLE width=400>
  <P style="FONT: 13pt/15pt verdana">The XML page cannot be displayed 
  <P style="FONT: 8pt/11pt verdana">Cannot view XML input using XSL style sheet. 
  Please correct the error and then click the <A 
  href="javascript:location.reload()" target=_self>Refresh</A> button, or try 
  again later. 
  <HR>

  <P style="FONT: bold 8pt/11pt verdana">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 </P><PRE style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; LINE-HEIGHT: 12pt; FONT-STYLE: normal; FONT-VARIANT: normal"><FONT color=blue>        <>
</FONT></PRE>
  <P>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: </P><PRE id=line1><<SPAN class=start-tag>gml:featureMember</SPAN>>
      <<SPAN class=start-tag>canada</SPAN>>
        <<SPAN class=start-tag>AREA</SPAN>>585860.072</<SPAN class=end-tag>AREA</SPAN>>
        <<SPAN class=start-tag>CODE</SPAN>>CA10</<SPAN class=end-tag>CODE</SPAN>>
        <<SPAN class=start-tag>NAME</SPAN>>Quebec</<SPAN class=end-tag>NAME</SPAN>>
        <<SPAN class=start-tag>POP1991</SPAN>>6895963</<SPAN class=end-tag>POP1991</SPAN>>
        <<SPAN class=start-tag>POP91_SQMI</SPAN>>13.163780</<SPAN class=end-tag>POP91_SQMI</SPAN>>
        <><BR><BR>this happens for whatever shapefile I am using.</PRE><PRE>Also, I did try using the latest dev version 4.1 (the windows binary that <BR>Assefa made available a little while ago, and this problem goes away.</PRE></P>
  <TBODY></TBODY></TABLE></DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV>D. Pagurek</DIV></BODY></HTML>

--=_F0D1B235.F594BD6C--



More information about the MapServer-users mailing list