diff --git a/administrator/components/com_jedchecker/libraries/rules/xmlmanifest.php b/administrator/components/com_jedchecker/libraries/rules/xmlmanifest.php index 7095a20..506f7f9 100644 --- a/administrator/components/com_jedchecker/libraries/rules/xmlmanifest.php +++ b/administrator/components/com_jedchecker/libraries/rules/xmlmanifest.php @@ -111,7 +111,7 @@ class JedcheckerRulesXMLManifest extends JEDcheckerRule */ protected function find($file) { - $xml = JFactory::getXml($file); + $xml = simplexml_load_file($file); // Failed to parse the xml file. // Assume that this is not a extension manifest diff --git a/administrator/components/com_jedchecker/libraries/rules/xmlmanifest_component.json b/administrator/components/com_jedchecker/libraries/rules/xmlmanifest_component.json index 6a6d949..c155b1e 100644 --- a/administrator/components/com_jedchecker/libraries/rules/xmlmanifest_component.json +++ b/administrator/components/com_jedchecker/libraries/rules/xmlmanifest_component.json @@ -21,7 +21,8 @@ "administration": "?", "updateservers": "!", "config": "?", - "dlid": "?" + "dlid": "?", + "namespace": "?" }, "administration": { "menu": "=", @@ -115,6 +116,9 @@ "priority", "type" ], + "namespace": [ + "path" + ], "params": [ "addParameterDir" ], diff --git a/administrator/components/com_jedchecker/libraries/rules/xmlmanifest_module.json b/administrator/components/com_jedchecker/libraries/rules/xmlmanifest_module.json index 8747f30..8792f34 100644 --- a/administrator/components/com_jedchecker/libraries/rules/xmlmanifest_module.json +++ b/administrator/components/com_jedchecker/libraries/rules/xmlmanifest_module.json @@ -20,7 +20,8 @@ "media": "?", "updateservers": "!", "config": "?", - "dlid": "?" + "dlid": "?", + "namespace": "?" }, "files": { "filename": "*", @@ -96,6 +97,9 @@ "priority", "type" ], + "namespace": [ + "path" + ], "fields": [ "addfieldpath", "name" diff --git a/administrator/components/com_jedchecker/libraries/rules/xmlmanifest_plugin.json b/administrator/components/com_jedchecker/libraries/rules/xmlmanifest_plugin.json index 45bd081..8f75832 100644 --- a/administrator/components/com_jedchecker/libraries/rules/xmlmanifest_plugin.json +++ b/administrator/components/com_jedchecker/libraries/rules/xmlmanifest_plugin.json @@ -20,7 +20,8 @@ "media": "?", "updateservers": "!", "config": "?", - "dlid": "?" + "dlid": "?", + "namespace": "?" }, "files": { "filename": "*", @@ -97,6 +98,9 @@ "priority", "type" ], + "namespace": [ + "path" + ], "fields": [ "addfieldpath", "name"