Code Duplication    Length = 5-5 lines in 2 locations

htdocs/class/xml/saxparser.php 2 locations

@@ 217-221 (lines=5) @@
214
    {
215
        array_push($this->tags, $tagName);
216
        $this->level++;
217
        if (isset($this->tagHandlers[$tagName]) && is_subclass_of($this->tagHandlers[$tagName], 'xmltaghandler')) {
218
            $this->tagHandlers[$tagName]->handleBeginElement($this, $attributesArray);
219
        } else {
220
            $this->handleBeginElementDefault($parser, $tagName, $attributesArray);
221
        }
222
    }
223
224
    /**
@@ 235-239 (lines=5) @@
232
    public function handleEndElement($parser, $tagName)
233
    {
234
        array_pop($this->tags);
235
        if (isset($this->tagHandlers[$tagName]) && is_subclass_of($this->tagHandlers[$tagName], 'xmltaghandler')) {
236
            $this->tagHandlers[$tagName]->handleEndElement($this);
237
        } else {
238
            $this->handleEndElementDefault($parser, $tagName);
239
        }
240
        $this->level--;
241
    }
242