Bug #49653 [Opn->Fbk]: XInclude() is not working properly

From: Date: Tue, 03 Dec 2013 10:53:24 +0000
Subject: Bug #49653 [Opn->Fbk]: XInclude() is not working properly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183095@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=49653&edit=1 ID: 49653 Updated by: mike@php.net Reported by: chetan dot tank at gmail dot com Summary: XInclude() is not working properly -Status: Open +Status: Feedback Type: Bug Package: DOM XML related Operating System: Windows XP PHP Version: 5.2.11 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2009-09-24 10:31:30] chetan dot tank at gmail dot com Description: ------------ XInclude() process fails to execute the <xi:include> when called with some 6 to 7 levels of inclusion loops. Reproduce code: --------------- <xi:include href="path"> <xi:fallback> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="path"> <xi:fallback> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="path"> <xi:fallback> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="path"> <xi:fallback> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="path"> <xi:fallback> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="path"></xi:fallback> </xi:include> </xi:fallback> </xi:include> </xi:fallback> </xi:include> </xi:fallback> </xi:include> </xi:fallback> </xi:include> Expected result: ---------------- The loop of xi:include should work as per expectations. Actual result: -------------- The xinclude() process fails to execute those inclusion loops. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=49653&edit=1

« previous php.bugs (#183095) next »