Diff for /embedaddon/php/ext/dom/tests/DOMDocument_schemaValidate_error5.phpt between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:47:54 version 1.1.1.2, 2013/10/14 08:02:11
Line 1 Line 1
 --TEST--  --TEST--
DomDocument::schemaValidate() - non-existant schema fileDomDocument::schemaValidate() - non-existent schema file
 --CREDITS--  --CREDITS--
 Daniel Convissor <danielc@php.net>  Daniel Convissor <danielc@php.net>
 # TestFest 2009 NYPHP  # TestFest 2009 NYPHP
Line 12  $doc = new DOMDocument; Line 12  $doc = new DOMDocument;
   
 $doc->load(dirname(__FILE__)."/book.xml");  $doc->load(dirname(__FILE__)."/book.xml");
   
$result = $doc->schemaValidate(dirname(__FILE__)."/non-existant-file");$result = $doc->schemaValidate(dirname(__FILE__)."/non-existent-file");
 var_dump($result);  var_dump($result);
   
 ?>  ?>
 --EXPECTF--  --EXPECTF--
Warning: DOMDocument::schemaValidate(): I/O warning : failed to load external entity "%snon-existant-file" in %s.php on line %dWarning: DOMDocument::schemaValidate(): I/O warning : failed to load external entity "%snon-existent-file" in %s.php on line %d
   
Warning: DOMDocument::schemaValidate(): Failed to locate the main schema resource at '%s/non-existant-file'. in %s.php on line %dWarning: DOMDocument::schemaValidate(): Failed to locate the main schema resource at '%s/non-existent-file'. in %s.php on line %d
   
 Warning: DOMDocument::schemaValidate(): Invalid Schema in %s.php on line %d  Warning: DOMDocument::schemaValidate(): Invalid Schema in %s.php on line %d
 bool(false)  bool(false)

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>