PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Tools and Utilities » PhpDocumentor » Bug #6801

Fatal Error on parsing nested lists

Details

Submitted2006-02-16 20:36 UTC
Frominfo at e-novative dot de
StatusDuplicate
PackagePhpDocumentor
PHP Version5.0.4
OSWin 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!