--TEST-- DOMDocument::relaxNGValidateSource() --CREDITS-- Knut Urdalen --SKIPIF-- --FILE-- RNG; $good_xml = <<< GOOD_XML Pear GOOD_XML; $doc = new DOMDocument(); $doc->loadXML($good_xml); $result = $doc->relaxNGValidateSource($rng); var_dump($result); ?> --EXPECT-- bool(true)