2 Bug #76777 (first parameter of libxml_set_external_entity_loader callback undefined)
5 if (!extension_loaded('libxml')) die('skip libxml extension not available');
6 if (!extension_loaded('dom')) die('skip dom extension not available');
7 if (getenv("SKIP_ONLINE_TESTS")) die('skip online test');
18 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
19 <xs:include schemaLocation="nonexistent.xsd"/>
20 <xs:element name="test"/>
24 libxml_set_external_entity_loader(function($p,$s,$c) {
29 $dom=new DOMDocument($xml);
30 $dom->schemaValidateSource($xsd);
34 string(15) "nonexistent.xsd"