Keep in mind that this method can't handle schemas in compact syntax!
(PHP 5, PHP 7, PHP 8)
DOMDocument::relaxNGValidate — Realiza a validação relaxNG no documento
Realiza a validação » relaxNG no documento com base no esquema RNG fornecido.
filename
O arquivo RNG.
Keep in mind that this method can't handle schemas in compact syntax!