We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6009c2d + 02eca9b commit 468fe01Copy full SHA for 468fe01
lib/internal/Magento/Framework/Config/Dom.php
@@ -274,11 +274,7 @@ public static function validateDomDocument(
274
$schema = self::$urnResolver->getRealPath($schema);
275
libxml_use_internal_errors(true);
276
try {
277
- if (file_exists($schema)) {
278
- $result = $dom->schemaValidate($schema);
279
- } else {
280
- $result = $dom->schemaValidateSource($schema);
281
- }
+ $result = $dom->schemaValidate($schema);
282
$errors = [];
283
if (!$result) {
284
$validationErrors = libxml_get_errors();
0 commit comments