PHP5 problems...
Brought to you by:
bs_php,
nigelswinson
From: <tw...@ks...> - 2004-11-07 14:30:17
|
Hi I have a few problems with my script when running it on a server with PHP= 5. First -- encoding. Somehow the initial processing instruction=20 disappears. I have a header: <?xml version=3D'1.0' encoding=3D'iso-8859-1= '?>=20 when I run the exportAsXml method, the header is the default <?xml=20 version=3D'1.0'?>. This is not a big issue, since I can just specify the=20 correct header to use when exporting. Second -- CDATA-tags disappear. In 4.x I have to manually strip the=20 enclosing <![CDATA[ ... ]]> marks on my text. Apparently that is no=20 longer necessary in 5.0. Nice, but when I export my xml-document the=20 CDATA tags are also missing. This results in the parser breaking down=20 when I try to read in the xml document after exporting it. Has anyone experienced the same and found a usable workaround for the=20 CDATA issue? Best regards, Torben W=F6lm |