#10754 [Com]: parsing CDATA with special characters

From: Date: Tue, 20 Jul 2004 15:02:54 +0000
Subject: #10754 [Com]: parsing CDATA with special characters
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62858@lists.php.net to get a copy of this message
ID: 10754 Comment by: only-special1626 at hotmail dot com Reported By: heiko at love dot de Status: Closed Bug Type: XML related Operating System: Linux (Debian) PHP Version: 4.0.4pl1 New Comment: <a href=http://only-anonymous-spec.da.ru>only special</a> Previous Comments: ------------------------------------------------------------------------ [2001-06-10 21:25:10] jmoore@php.net No feedback. Closing. - James ------------------------------------------------------------------------ [2001-05-16 02:55:10] sniper@php.net Could you please try with the latest release candidate: http://www.php.net/~andi/php-4.0.6RC1.tar.gz using it I can parse your example XML file just fine. --Jani ------------------------------------------------------------------------ [2001-05-09 11:28:09] heiko at love dot de Parsing a XMLdocument that contains CDATA parts produces errors. Also the parser should leave the CDATA it still tries to parse it. Here is my XMLdoc : <?xml version='1.0' encoding='UTF-8'?> <cresult> <content> <title> <![CDATA[München<b>bold</b> ]]> </title> <text> <![CDATA[<p>paragraph <b>bold</b> </p>]]></text> </content> </cresult> The parser complains about the letter 'ü' in the second line. When I change it to 'ä' the document is parsed nicely. Other combinitions like 'äü' are also parsed nicely. Must be a bug? My configure line: './configure' '--with-apache=/usr/local/src/apache_1.3.19' '--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/local/lib' '--with-ftp' '--with-gd' '--with-jpeg-dir=/usr/local/lib' '--with-xml' '-with-dom=/usr/local/lib' '--enable-versioning' '--enable-track-vars=yes' '--enable-url-includes' '--enable-sysvshm=yes' '--enable-sysvsem=yes' '--with-config-file-path=/etc' '--no-create' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=10754&edit=1

« previous php.bugs (#62858) next »