|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-10-11 05:22 UTC] ben at wizzard dot org
[2001-11-29 18:48 UTC] mfischer@php.net
[2001-12-03 00:17 UTC] mfischer@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 10:00:02 2025 UTC |
Calling mtree on an XML document that contains a CDATA section returns an incomplete tree prefixed with this warning: Warning: Unsupported Node type: 4 What follows is a script that tries to make a tree from a well-formed (Brown STG XML validator) XML document. The code works fine on 4.0.6 release and fails as described above on the cvs snap. (php4-200110102100) <PLAINTEXT> <?php $xmlstr = join('',file('http://www.dbq365.com/iml/sample_interview.xml')); $tree = xmltree($xmlstr); print_r($tree); ?>