boolean PEAR_Common::validatePackageInfo (
string $info
, array &$errors
, array &$warnings
, string $dir_prefix = ''
)
Validate XML package definition file.
$info
Filename of the package archive or of the package definition file
$errors
Array that will contain the errors
$warnings
Array that will contain the warnings
$dir_prefix
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.