ID:               43364
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ddb at bitxtender dot de
-Status:           Open
+Status:           Assigned
 Bug Type:         DOM XML related
 Operating System: Mac OS X
 PHP Version:      5.3CVS-2007-11-21 (CVS)
-Assigned To:      
+Assigned To:      rrichards
 New Comment:

assign to self


Previous Comments:
------------------------------------------------------------------------

[2007-11-21 16:21:42] ddb at bitxtender dot de

Description:
------------
libxml creates XML_XINCLUDE_START and XML_XINCLUDE_END nodes when 
inserting the referenced node(s). When using x:include in a part which

will be x:included by some other part this will create nested 
XML_INCLUDE_* nodes but php doesn't descend into child nodes between 
XML_XINCLUDE_START and XML_XINCLUDE_END so only the top level 
XML_INCLUDE nodes get removed

a patch fixing this is available at 
http://agavi.org/php/xinclude_bug.patch

Reproduce code:
---------------
http://www.agavi.org/php/xinclude_bug.phps

Expected result:
----------------
OK

Actual result:
--------------
PHP Warning:  loopElements(): Unsupported node type: 19 in 
/Users/dominik/Desktop/xinclude_bug.php on line 26

Warning: loopElements(): Unsupported node type: 19 in 
/Users/dominik/Desktop/xinclude_bug.php on line 26
Segmentation fault


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43364&edit=1

Reply via email to