<html><div style='background-color:'><DIV class=RTE>
<P>I have put Dump True but the error is still the same. ¿Any other suggestion?</P>
<P>Thanks<BR>Aitor<BR></P></DIV>
<DIV></DIV>&gt;From: Paul Spencer &lt;pagameba@MAGMA.CA&gt;
<DIV></DIV>&gt;Reply-To: Paul Spencer &lt;pagameba@MAGMA.CA&gt;
<DIV></DIV>&gt;To: MAPSERVER-USERS@LISTS.UMN.EDU
<DIV></DIV>&gt;Subject: Re: [UMN_MAPSERVER-USERS] WMS GetFeatureInfo XML Format error
<DIV></DIV>&gt;Date: Thu, 16 Sep 2004 07:31:54 -0500
<DIV></DIV>&gt;
<DIV></DIV>&gt;you must add DUMP TRUE to your layer if you want it to return XML
<DIV></DIV>&gt;results.
<DIV></DIV>&gt;
<DIV></DIV>&gt;Bastarrika Izagirre wrote:
<DIV></DIV>&gt;
<DIV></DIV>&gt;&gt;Hi all:
<DIV></DIV>&gt;&gt;I have problems with GetFeatureInfo request. I want the response in
<DIV></DIV>&gt;&gt;XML format and i receive it in text/plain format.
<DIV></DIV>&gt;&gt;I have added in my .map file the&nbsp;&nbsp; WMS_FEATURE_INFO_MIME_TYPE
<DIV></DIV>&gt;&gt;'text/xml' parameter so GetCapabilities response is:
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&lt;GetFeatureInfo&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Format&gt;text/plain&lt;/Format&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Format&gt;text/xml&lt;/Format&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Format&gt;application/vnd.ogc.gml&lt;/Format&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DCPType&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;HTTP&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Get&gt;&lt;OnlineResource
<DIV></DIV>&gt;&gt;xmlns:xlink="http://www.w3.org/1999/xlink"
<DIV></DIV>&gt;&gt;xlink:href="D:/mapserver_aplic/templ.html?"/&gt;&lt;/Get&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Post&gt;&lt;OnlineResource
<DIV></DIV>&gt;&gt;xmlns:xlink="http://www.w3.org/1999/xlink"
<DIV></DIV>&gt;&gt;xlink:href="D:/mapserver_aplic/templ.html?"/&gt;&lt;/Post&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/HTTP&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DCPType&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;! /GetFeatureInfo&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;when I make the GetFeatureInfo request with the option
<DIV></DIV>&gt;&gt;FORMAT=text/xml
<DIV></DIV>&gt;&gt;i get the error
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&lt;?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?&gt;
<DIV></DIV>&gt;&gt;&lt;!DOCTYPE ServiceExceptionReport SYSTEM
<DIV></DIV>&gt;&gt;"http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd"&gt;
<DIV></DIV>&gt;&gt;&lt;ServiceExceptionReport version="1.1.0"&gt;
<DIV></DIV>&gt;&gt;&lt;ServiceException code="InvalidFormat"&gt;
<DIV></DIV>&gt;&gt;msWMSLoadGetMapParams(): Image handling error. Unsupported output
<DIV></DIV>&gt;&gt;format (text/xml).
<DIV></DIV>&gt;&gt;&lt;/ServiceException&gt;
<DIV></DIV>&gt;&gt;&lt;/ServiceExceptionReport&gt;
<DIV></DIV>&gt;&gt;If I don't specify the Format parameter the request is valid in
<DIV></DIV>&gt;&gt;plain
<DIV></DIV>&gt;&gt;text format.
<DIV></DIV>&gt;&gt;Could someone help me?
<DIV></DIV>&gt;&gt;Thanks,
<DIV></DIV>&gt;&gt;aitor
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;------------------------------------------------------------------------
<DIV></DIV>&gt;&gt;Consigue aquí las mejores y mas recientes ofertas de trabajo en
<DIV></DIV>&gt;&gt;América Latina y USA: Haz clic aquí...
<DIV></DIV>&gt;&gt;&lt;http://g.msn.com/8HMAES/2743??PS=47575&gt;
<DIV></DIV></div><br clear=all><hr>Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, YupiMSN Compras:  <a href="http://g.msn.com/8HMAES/2746??PS=47575">Haz clic aquí...</a> </html>