Use of CDATA in context documents

Frank Warmerdam warmerdam at POBOX.COM
Thu Jan 4 12:14:53 EST 2007


Pagurek,Debbie [NCR] wrote:
> My project requires some special characters, such as subscripts, to be
> used in abstracts and titles. We tried to embed CDATA into our context
> documents e.g.
> <![CDATA[<sub>2.5</sub>]]>
> But our Chameleon application croaked. We understand that this is likely
> due to the fact that MapServer itself doesn't parse the CDATA part
> properly.
> 
> We are using MS v4.6.1, Chameleon version 2.2, and PHP 4.3.11 which I
> know are really out of date now. Can anyone tell me if using CDATA in
> context docs is supported in more recent versions of MapServer? If it
> isn't, are their any plans to incorporate this?

Debbie,

GDAL/OGR's 1.4.0 version includes CDATA support in the minixml parser.  Are
you in a position to upgrade?

Otherwise Bart's scheme to avoid CDATA would likely be best.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the mapserver-users mailing list