Bug #13639: CDATA Section Unsupported?
| From: | ben at wizzard dot org | Date: | Thu, 11 Oct 2001 06:45:00 +0000 |
| Subject: | Bug #13639: CDATA Section Unsupported? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-67746@lists.php.net to get a copy of this message | ||
From: ben@wizzard.org
Operating system: BSDI BSD/OS 4.0.1
PHP version: 4.0CVS-2001-10-11
PHP Bug Type: DOM XML related
Bug description: CDATA Section Unsupported?
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);
?>
--
Edit bug report at: http://bugs.php.net/?id=13639&edit=1