[Mapserver-dev] XML Entities

Daniel Morissette morissette at dmsolutions.ca
Wed Oct 8 15:43:04 EDT 2003


Paul Ramsey wrote:
> Er, expansion, the following substitutions should be done:
> 
> <   &lt;
>  >   &gt;
> "   &quot;
> &   &amp;
> '   &apos;
> 

If we decide to go that route then a call to msEncodeHTMLEntities() 
(mapstring.c) can be used to do that.  BTW, should the "'" (&apos) 
really be encoded?  If you can confirm that it needs to be then we can 
quickly add it to the function.

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               morissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-dev mailing list