ID: 43604 Updated by: [EMAIL PROTECTED] 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
