1--TEST--
2DomDocument::schemaValidateSource() - basic
3--CREDITS--
4Daniel Convissor <danielc@php.net>
5# TestFest 2009 NYPHP
6--SKIPIF--
7<?php require_once('skipif.inc'); ?>
8--FILE--
9<?php
10
11$doc = new DOMDocument;
12
13$doc->load(dirname(__FILE__)."/book.xml");
14
15$xsd = file_get_contents(dirname(__FILE__)."/book.xsd");
16
17$result = $doc->schemaValidateSource($xsd);
18var_dump($result);
19
20?>
21--EXPECT--
22bool(true)
23