|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-05-16 02:55 UTC] sniper@php.net
[2001-06-10 21:25 UTC] jmoore@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 08:00:02 2025 UTC |
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'