protected function onElementStart($parser, $name, $attributes)
    {
        array_push($this->stack, $name);
        $this->handleOnElementStart($parser, $name, $attributes);
    }
protected function onElementStart($parser, $name, $attributes)
    {
        array_push($this->stack, $name);
        $this->handleOnElementStart($parser, $name, $attributes);
    }
{@inheritdoc}