VAST2.0 XML タグの検証
$xsdPath='https://github.com/chrisdinn/vast/blob/master/lib/vast_2.0.1.xsd'
$domdoc= new DOMDocument();
$domdoc->loadHTML($xml_input);
if(!$domdoc->schemaValidate($xsdPath)){/* ... */}
次のような無意味なメッセージを返しますError 1845: Element 'html': No matching global declaration available for the validation root.
私の意見では、スキーマ xsd と膨大な xml の両方に .
同じことを試す
$reader = new XMLReader();
$reader->XML($xml_input);
$valid = $reader->setSchema($xsdPath);
$reader->read();
$reader->close();
同じエラー コードを返します。
xsdトゥウィッチをチェックしました。https://github.com/chrisdinn/vast/blob/master/lib/vast_2.0.1.xsdと同じです。
これを修正する方法はありますか?