--TEST-- DomDocument::schemaValidate() - non-existent schema file --CREDITS-- Daniel Convissor # TestFest 2009 NYPHP --EXTENSIONS-- dom --FILE-- load(__DIR__."/book.xml"); $result = $doc->schemaValidate(__DIR__."/non-existent-file"); var_dump($result); ?> --EXPECTF-- Warning: DOMDocument::schemaValidate(): I/O %s : failed to load %s Warning: DOMDocument::schemaValidate(): Failed to locate the main schema resource at '%snon-existent-file'. in %s on line %d Warning: DOMDocument::schemaValidate(): Invalid Schema in %s on line %d bool(false)