All XML-parsing-related stuff refactured to new XmlParser class
[core.git] / inc / classes / main / helper / class_BaseHelper.php
index 81e4197c378f73d1aa14d24d44f93f37003c1ee7..ff4646f749a7cb2d9e5318b3845e2eddd635bded 100644 (file)
@@ -63,9 +63,6 @@ class BaseHelper extends BaseFrameworkSystem {
        private $totalCounter = 0;
 
        // Exception constants
-       const EXCEPTION_XML_PARSER_ERROR             = 0x1e0;
-       const EXCEPTION_XML_NODE_UNKNOWN             = 0x1e1;
-       const EXCEPTION_XML_NODE_MISMATCH            = 0x1e2;
        const EXCEPTION_GROUP_NOT_OPENED             = 0x1e3;
        const EXCEPTION_GROUP_ALREADY_FOUND          = 0x1e4;
        const EXCEPTION_SUB_GROUP_ALREADY_FOUND      = 0x1e5;
@@ -402,7 +399,7 @@ class BaseHelper extends BaseFrameworkSystem {
 
                // Now "walk" through all groups and sub-groups
                for ($idx = 1; $idx <= $this->totalCounter; $idx++) {
-                       // Is this a group and is it closed?
+                       // Is this a sub/group and is it closed?
                        if ((isset($this->groups[$idx])) && ($this->groups[$this->groups[$idx]]['opened'] === false)) {
                                // Then add it's content
                                $groupContent = trim($this->groups[$this->groups[$idx]]['content']);