Whilst executing xmllint on file gentoo-doc/en/handbook/handbook-mips.xml, the following error(s) were encountered.
$file = popen("xmllint --valid --noout $xml 2>&1","r");
while ($buffer = fgets($file,4096)) {
echo htmlentities($buffer);
}
pclose($file);
echo "Return value: $retval\n";
?>