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

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

[2007-11-21 17:42:22] [EMAIL PROTECTED]

assign to self

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

[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