mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-03 18:38:30 +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