[Gdal-dev] testing of CDATA support in GDAL/OGR
Kralidis,Tom [Burlington]
Tom.Kralidis at ec.gc.ca
Wed Mar 14 14:08:50 EDT 2007
Hi,
Using GDAL/OGR 1.4.0 (02 January 2007) on an FC4 box, we're testing CDATA block support within XML documents which are processed by GDAL/OGR (our target need is WMC docs in MapServer).
I've tested using a GML document with a CDATA block to an attribute element:
<![CDATA[iGEORGIAN BAY <tom>]]>
when doing a:
$ ogrinfo -al foo.gml
The attribute is shown as:
iGEORGIAN BAY
When I test a special char:
<![CDATA[iGEORGIAN BAY & <tom>]]>
the result of the output shapefile attribute is:
iGEORGIAN BAY
From what I can see, this code is in port/cpl_minixml.cpp.
Is this the intended behaviour?
..Tom
More information about the Gdal-dev
mailing list