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.
1 parent 79651d5 commit 02eca9bCopy full SHA for 02eca9b
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