#43604 [Opn->Fbk]: xml_parse return error undefined entity for entities defined in extern DTD

From: Date: Tue, 29 Jan 2008 00:41:19 +0000
Subject: #43604 [Opn->Fbk]: xml_parse return error undefined entity for entities defined in extern DTD
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-121681@lists.php.net to get a copy of this message
ID: 43604 Updated by: tony2001@php.net Reported By: doser at seznam dot cz -Status: Open +Status: Feedback Bug Type: XML related Operating System: WIN XP SP2 PHP Version: 5.2.5 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2007-12-15 17:47:18] doser at seznam dot cz Description: ------------ While parsing xml file by xml_parse() (SAX) parser returns error undefined entity, when entity is defined in extern dtd file. If declaration is internal, all is ok. Reproduce code: --------------- Error example - external dtd file Example construct: <!DOCTYPE chapter SYSTEM "test.dtd"> test.dtd: <!ENTITY plainEntity "FOO entity"> OK exampla - internal definition dtd Example construct: <!DOCTYPE chapter [ <!ENTITY plainEntity "FOO entity"> ] > ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43604&edit=1

« previous php.bugs (#121681) next »