mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-11-17 18:45:16 +00:00
add support of any children (by using '*' as key)
This commit is contained in:
parent
f7353bf312
commit
79caa44fca
@ -193,7 +193,9 @@ class JedcheckerRulesXMLManifest extends JEDcheckerRule
|
|||||||
{
|
{
|
||||||
$this->warnings[] = JText::sprintf('COM_JEDCHECKER_MANIFEST_UNKNOWN_CHILDREN', $name);
|
$this->warnings[] = JText::sprintf('COM_JEDCHECKER_MANIFEST_UNKNOWN_CHILDREN', $name);
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
elseif (!isset($this->DTDNodeRules[$name]['*']))
|
||||||
|
{
|
||||||
$DTDchildren = $this->DTDNodeRules[$name];
|
$DTDchildren = $this->DTDNodeRules[$name];
|
||||||
|
|
||||||
// 1) check required single elements
|
// 1) check required single elements
|
||||||
|
Loading…
Reference in New Issue
Block a user