Bug #13639 Updated: CDATA Section Unsupported?

From: Date: Thu, 11 Oct 2001 09:22:06 +0000
Subject: Bug #13639 Updated: CDATA Section Unsupported?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-67755@lists.php.net to get a copy of this message
ID: 13639 User updated by: ben@wizzard.org Reported By: ben@wizzard.org Status: Open Bug Type: DOM XML related Operating System: BSDI BSD/OS 4.0.1 PHP Version: 4.0CVS-2001-10-11 New Comment: Sorry I didn't check this before. If the CDATA section is removed from the sample document, the test script returns what appears to be a complete tree with this warning; Warning: Unknown list entry type in request shutdown (0) in Unknown on line 0. I'm finding some other issues with DOM XML in this build, such as the domxml_root function (called as a method) returning an object from the "DomElement" class instead of "DomNode." I'm don't mean to report two problems at once. I suspect these two issues are both related to getting a CVS snapshot when the DOM XML code is mid-change. Previous Comments: ------------------------------------------------------------------------ [2001-10-11 02:44:59] ben@wizzard.org 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 this bug report at http://bugs.php.net/?id=13639&edit=1

« previous php.dev (#67755) next »