From:             [EMAIL PROTECTED]
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[Mnchen<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-zlib-dir=/usr/local/lib' '--with-ftp'
'--with-jpeg-dir=/usr/local/lib' '--with-xml' '-with-dom=/usr/local/lib'
'--enable-track-vars=yes' '--enable-url-includes'
'--enable-sysvsem=yes' '--with-config-file-path=/etc'

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to