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

Bug #556 Notices on XML_Beautifier execution
Submitted: 2004-01-11 22:50 UTC
From: brunobord at tele2 dot fr Assigned: schst
Status: Closed Package: XML_Beautifier
PHP Version: 4.3.3 OS: Windows XP
Roadmaps: (Not assigned)    
Subscription  


 [2004-01-11 22:50 UTC] brunobord at tele2 dot fr
Description: ------------ Using XML_Beautifier with ERROR_REPORTING set ton E_ALL produces a list of notices (listed below). The script used is example1.php, supplied with the latest version of this package (1.0) No change made to my php.ini, it's the default setup. Reproduce code: --------------- /* it's all in the example1.php file */ Expected result: ---------------- No notice. This setup (error_reporting set to "all) is supposed to be definitely used for secure coding. Actual result: -------------- Notice: Undefined index: children in c:\easyphp\www\pear\PEAR\XML\Beautifier\Tokenizer.php on line 352 Notice: Undefined index: children in c:\easyphp\www\pear\PEAR\XML\Beautifier\Tokenizer.php on line 352 Notice: Undefined index: children in c:\easyphp\www\pear\PEAR\XML\Beautifier\Tokenizer.php on line 352 Notice: Undefined variable: xml in c:\easyphp\www\pear\PEAR\XML\Beautifier\Renderer.php on line 146 Notice: Undefined variable: xml in c:\easyphp\www\pear\PEAR\XML\Beautifier\Renderer.php on line 146

Comments

 [2004-01-11 23:02 UTC] brunobord at tele2 dot fr
Add-on : this is not exactly the php.ini-dist. The package I'm using for testing purposes (Easyphp) sets ERROR_REPORTING to E_ALL by default. But I still think that this notices shall be removed, to use the up-to-date security recommendations.
 [2004-01-12 20:06 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-01-12 20:40 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!