Bug #11031 Updated: XML parser do not let use ']' in CDATA string

From: Date: Tue, 22 May 2001 17:26:01 +0000
Subject: Bug #11031 Updated: XML parser do not let use ']' in CDATA string
Groups: php.dev 
Request: Send a blank email to php-dev+get-56299@lists.php.net to get a copy of this message
ID: 11031 Updated by: derick Reported By: Mykolas@Labas.Com Old-Status: Open Status: Bogus Bug Type: *XML functions Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: This is not a bug in PHP, but rather a property of the XML parser (which is external). You need to escape your [ and ] 's Derick Previous Comments: --------------------------------------------------------------------------- [2001-05-22 17:18:29] Mykolas@Labas.Com Extract from data I giving to parse: <LongDesc><![CDATA[HP OmniBook XE3 Cel600 13 HPA 64/7 W[AN]]]></LongDesc> Parser executes data function two times: for data: "HP OmniBook XE3 Cel600 13 HPA 64/7 W[AN" and for data: "]" It happens only in case of using [] in the data string. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11031&edit=2

« previous php.dev (#56299) next »