Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0a1

Bug #2294 @toc tag is incompatible when XML prolog exists
Submitted: 2004-09-06 11:14 UTC Modified: 2006-04-26 23:04 UTC
From: farell Assigned: cellog
Status: Closed Package: PhpDocumentor
PHP Version: 4.3.8 OS: Windows XP
Roadmaps: (Not assigned)    
Subscription  


 [2004-09-06 11:14 UTC] farell
Description: ------------ With the latest version 1.3.0RC3 of phpDocumentor In my xml-docbook documents, when i put both {@toc} and standard xml prolog <?xml version="1.0" encoding="iso-8859-1" ?> i got a parsing error (see messages below) it's same (parsing error) when i try to add a comment line such as "<!-- $Revision$ -->" after the xml prolog (and even without the xml prolog) Notice: Undefined offset: 5 in e:\wamp\php4\PEAR\PhpDocumentor\phpDocumentor\PackagePageElements.inc on line 160 Fatal error: Call to a member function on a non-object in e:\wamp\php4\PEAR\PhpDocumentor\phpDocumentor\XMLpackagePageParser.inc on line 176 Hope these few lines will help; if it's not the case, feel free to ask me more details Laurent

Comments

 [2006-04-26 23:04 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.