|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-17 13:48 UTC] flying at dom dot natm dot ru
[2002-07-17 14:01 UTC] sniper@php.net
[2002-07-17 16:09 UTC] chregu@php.net
[2002-07-17 16:11 UTC] chregu@php.net
[2002-11-27 04:07 UTC] k.schroeder@php.net
[2010-09-01 04:35 UTC] k.schroeder@php.net
-Status: No Feedback
+Status: Wont fix
[2010-09-01 04:35 UTC] k.schroeder@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 15:00:02 2025 UTC |
short script: <?php if(!$dom = domxml_open_file("b00000000001.xml")) { echo "Error while parsing the document\n"; exit; } $root = $dom->document_element(); print_r($root); ?> return: "Error while parsing the document" when xml document has encoding option, like this: <?xml version="1.0" encoding='WINDOWS-1251' ?> without "encoding='WINDOWS-1251'" it work ok.