1--TEST--
2DomDocument::schemaValidate() - empty string for schema file name
3--CREDITS--
4Daniel Convissor <danielc@php.net>
5# TestFest 2009 NYPHP
6--EXTENSIONS--
7dom
8--FILE--
9<?php
10
11$doc = new DOMDocument;
12
13$doc->load(__DIR__."/book.xml");
14
15try {
16    $doc->schemaValidate('');
17} catch (ValueError $e) {
18    echo $e->getMessage() . "\n";
19}
20
21?>
22--EXPECT--
23DOMDocument::schemaValidate(): Argument #1 ($filename) must not be empty
24