Bug #10754: parsing CDATA with special characters
| From: | heiko at love dot de | Date: | Wed, 09 May 2001 15:28:09 +0000 |
| Subject: | Bug #10754: parsing CDATA with special characters | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54508@lists.php.net to get a copy of this message | ||
From: heiko@love.de
Operating system: Linux (Debian)
PHP version: 4.0.4pl1
PHP Bug Type: XML related
Bug description: parsing CDATA with special characters
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 Bug report at: http://bugs.php.net/?id=10754&edit=1