private function replaceLastChild_cdata(ViewElementCData $cdata)
    {
        $n = count($this->children);
        if ( ($n > 1) && ($this->children[$n - 2] instanceof ViewElementCData) ) {
            // Group the last-but-one cdata with this new cdata
            $this->children[$n - 2]->outputBuffer .= $cdata->outputBuffer;
            // and chop the final element off the children array.
            array_pop($this->children);
        } else {
            $cdata->parent        = $this;
            $this->children[$n - 1] = $cdata;
        }
    }