From:             chetan dot tank at gmail dot com
Operating system: Windows XP
PHP version:      5.2.11
PHP Bug Type:     DOM XML related
Bug description:  XInclude() is not working properly

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 bug report at http://bugs.php.net/?id=49653&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49653&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49653&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49653&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49653&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49653&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49653&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49653&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49653&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49653&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49653&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49653&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49653&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49653&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49653&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49653&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49653&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49653&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49653&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49653&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49653&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49653&r=mysqlcfg

Reply via email to