[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

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:
	When I test a special char:
	<![CDATA[iGEORGIAN BAY & <tom>]]>
	the result of the output shapefile attribute is:
	From what I can see, this code is in port/cpl_minixml.cpp.
	Is this the intended behaviour?

More information about the Gdal-dev mailing list