33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-30 16:53:59 +00:00

add support of any children (by using '*' as key)

This commit is contained in:
Denis Ryabov 2021-02-24 00:33:37 +03:00
parent f7353bf312
commit 79caa44fca

View File

@ -193,7 +193,9 @@ class JedcheckerRulesXMLManifest extends JEDcheckerRule
{
$this->warnings[] = JText::sprintf('COM_JEDCHECKER_MANIFEST_UNKNOWN_CHILDREN', $name);
}
} else {
}
elseif (!isset($this->DTDNodeRules[$name]['*']))
{
$DTDchildren = $this->DTDNodeRules[$name];
// 1) check required single elements