|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-09-29 14:54 UTC] michiel at trendserver dot nl
[2004-10-12 20:09 UTC] apocalypsys dot NOSP at M dot ukr dot net
[2004-11-05 14:42 UTC] joern_h at gmx dot net
[2004-11-12 12:42 UTC] rrichards@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 21:00:01 2025 UTC |
Description: ------------ The XML extension in PHP5(.02) seems to fail on the use entities that are declared in the same XML file. Reproduce code: --------------- <? $xml = <<<HERE <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE test [ <!ENTITY uuml "ü"> ]> <test>ü</test> HERE; $parser = xml_parser_create(); if (!xml_parse($parser, $xml)) { echo xml_error_string(xml_get_error_code($parser)) . "\n"; } xml_parser_free($parser); ?> Expected result: ---------------- No errors. Actual result: -------------- Undeclared entity error.