Home » Tools and Utilities » PhpDocumentor » Bug #6801
Fatal Error on parsing nested lists
Details
| Submitted | 2006-02-16 20:36 UTC |
|---|---|
| From | info at e-novative dot de |
| Status | Duplicate |
| Package | PhpDocumentor |
| PHP Version | 5.0.4 |
| OS | Win XP |
| Roadmaps | (Not assigned) |
Comments
[2006-02-16 20:36 UTC] info at e-novative dot de
Description:
------------
Parsing fails with a fatal error on nested lists.
Test script:
---------------
/**
* Heading
*
* <ul>
* <li>item</li>
* <ul>
* <li>item</li>
* <li>item</li>
* </ul>
* </ul>
*/
Expected result:
----------------
Generated documentation.
Actual result:
--------------
Reading file C:/data/www/code/bug/Application.php -- Parsing file
PHP Notice: Undefined offset: 1 in C:\Programme\e-novative\WAMP\php\PEAR\PhpDo
cumentor\phpDocumentor\ParserDescCleanup.inc on line 851
Notice: Undefined offset: 1 in C:\Programme\e-novative\WAMP\php\PEAR\PhpDocumen
tor\phpDocumentor\ParserDescCleanup.inc on line 851
PHP Fatal error: Call to a member function add() on a non-object in C:\Programm
e\e-novative\WAMP\php\PEAR\PhpDocumentor\phpDocumentor\ParserDescCleanup.inc on
line 851
Fatal error: Call to a member function add() on a non-object in C:\Programme\e-n
ovative\WAMP\php\PEAR\PhpDocumentor\phpDocumentor\ParserDescCleanup.inc on line
851
[2006-02-17 06:43 UTC] info at e-novative dot de
I know. And it works when you nest it correctly; I just noticed that the parser failed and it took me a while to find out which page caused the problem.
But thanks for your quick reply!