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

Bug #18832 Use of undefined constant XML_BEAUTIFIER_INCLUDE_PATH - assumed 'XML_BEAUTIFIE
Submitted: 2011-09-14 06:18 UTC
From: doconnor Assigned: ashnazg
Status: Assigned Package: XML_Beautifier (version 1.2.2)
PHP Version: 5.3.8 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2011-09-14 06:18 UTC] doconnor (Daniel O'Connor)
Description: ------------ The script is doing: if (!defined('XML_BEAUTIFIER_INCLUDE_PATH')) { define('XML_BEAUTIFIER_INCLUDE_PATH', 'XML/Beautifier'); } ... but this does not appear to be behaving as expected under PHP 5.3.8. There's little point to having this - where it's used like: require_once XML_BEAUTIFIER_INCLUDE_PATH . '/Tokenizer.php'; is presumably for tests or building from SVN. Creating the right dir structure in SVN and running the tests from an appropriate location should correct this: svn mkdir XML svn mv Beautifier.php XML/ svn mv Beautifier/ XML/ vim package.xml

Comments

 [2011-09-18 13:04 UTC] doconnor (Daniel O'Connor)
-Assigned To: +Assigned To: ashnagz
 [2011-09-18 13:05 UTC] doconnor (Daniel O'Connor)
-Assigned To: ashnagz +Assigned To: ashnazg