[Mapserver-users] 4.0 html in the .dbf

Jean-Francois.Doyon at CCRS.NRCan.gc.ca Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Tue Aug 5 14:07:14 EDT 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C35B7C.65E5FEF0
Content-Type: text/plain;
	charset="iso-8859-1"

Hmmmm I have no easy solution to this, but I'm glad to hear about it, as we
do the same thing here.
 
This is new behavior, 3.6.x didn't use to escape the contents of the data
returned from the DBF ...
 
Any great reason this was done ? I would suggest that instead of doing that,
we should use the "_esc" notation to force escaping, as is done with various
other template substitutions ?
 
J.F.

-----Original Message-----
From: Shannon Scott [mailto:sscott at gwi.net]
Sent: Tuesday, August 05, 2003 1:56 PM
To: Mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] 4.0 html in the .dbf


Hello,
I have an app that reads some anchor html tags from a dbf when the
coresponding polygon is clicked on, and creates a report in the browser with
the links from the dbf...
Then the user can click on the associated link and go to a website that has
more info about the polygon.
When I upgraded to the new 4.0 version, the links stopped working.
It seems the <A ... </A> tags are being replaced by &lt;A ... &lt;/A&gt;,
and then the browser doesn't recognize them as links.
Any workaround?  If not, Can someone direct me to the code that converts the
html?
Thank You.
Shannon
 


------_=_NextPart_001_01C35B7C.65E5FEF0
Content-Type: text/html;
	charset="iso-8859-1"

<!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.2722.900" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=726400418-05082003><FONT face=Arial color=#0000ff size=2>Hmmmm 
I have no easy solution to this, but I'm glad to hear about it, as we do the 
same thing here.</FONT></SPAN></DIV>
<DIV><SPAN class=726400418-05082003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=726400418-05082003><FONT face=Arial color=#0000ff size=2>This 
is new behavior, 3.6.x didn't use to escape the contents of the data returned 
from the DBF ...</FONT></SPAN></DIV>
<DIV><SPAN class=726400418-05082003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=726400418-05082003><FONT face=Arial color=#0000ff size=2>Any 
great reason this was done ? I would suggest that instead of&nbsp;doing that, we 
should use the "_esc" notation to force escaping, as is done with various other 
template substitutions ?</FONT></SPAN></DIV>
<DIV><SPAN class=726400418-05082003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=726400418-05082003><FONT face=Arial color=#0000ff 
size=2>J.F.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Shannon Scott 
  [mailto:sscott at gwi.net]<BR><B>Sent:</B> Tuesday, August 05, 2003 1:56 
  PM<BR><B>To:</B> Mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> 
  [Mapserver-users] 4.0 html in the .dbf<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
  <DIV><FONT face=Arial size=2>I have an app that reads some anchor html tags 
  from a dbf when the coresponding polygon is clicked on, and creates a report 
  in the browser with the links from the dbf...</FONT></DIV>
  <DIV><FONT face=Arial size=2>Then the user can click on the associated link 
  and go to a website that has more info about the polygon.</FONT></DIV>
  <DIV><FONT face=Arial size=2>When I upgraded to the new 4.0 version, the links 
  stopped working.</FONT></DIV>
  <DIV><FONT face=Arial size=2>It seems the &lt;A ... &lt;/A&gt; tags are being 
  replaced by &amp;lt;A ... &amp;lt;/A&amp;gt;, and then the browser doesn't 
  recognize them as links.</FONT></DIV>
  <DIV><FONT face=Arial size=2>Any workaround?&nbsp; If not, Can 
  someone&nbsp;direct me to&nbsp;the code that converts the html?</FONT></DIV>
  <DIV><FONT face=Arial size=2>Thank You.</FONT></DIV>
  <DIV><FONT face=Arial size=2>Shannon</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C35B7C.65E5FEF0--



More information about the mapserver-users mailing list