1--TEST--
2DOMDocument::relaxNGValidate()
3--CREDITS--
4Knut Urdalen <knut@php.net>
5--EXTENSIONS--
6dom
7--FILE--
8<?php
9$rng = __DIR__.'/DOMDocument_relaxNGValidate_basic.rng';
10$xml = <<< XML
11<?xml version="1.0"?>
12<apple>
13  <pear>Pear</pear>
14</apple>
15XML;
16$doc = new DOMDocument();
17$doc->loadXML($xml);
18$result = $doc->relaxNGValidate($rng);
19var_dump($result);
20?>
21--EXPECT--
22bool(true)
23