require_once 'common.php';
boolean PEAR_Common::validatePackageInfo (string $info, array &$errors, array &$warnings [, string $dir_prefix = ''])
boolean PEAR_Common::validatePackageInfo
Validate XML package definition file.
Filename of the package archive or of the package definition file
Array that will contain the errors
Array that will contain the warnings
directory where source files may be found, or empty if they are not available
bool - TRUE if valid
This function can not be called statically.