Use of CDATA in context documents

Pagurek,Debbie [NCR] Debbie.Pagurek at EC.GC.CA
Thu Jan 4 13:17:16 EST 2007


Thanks for letting me know. This provides me with more info to convince
the powers-that-be that we need to upgrade. Unfortuately, I'm quite sure
that Bart's solution won't work in our situation. The output will
actually show all the tags, instead of processing them.

Debbie

-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com] 
Sent: Thursday, January 04, 2007 12:15 PM
To: Pagurek,Debbie [NCR]
Cc: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Use of CDATA in context documents

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