return 0;
return getElementCount() - 1;
    public int getElementIndex(int offset)    {      // XXX: There is surely a better algorithm      // as beginning from first element each time.      for (int index = 0; index < children.length; ++index)        {	  Element elem = children[index];      	  if ((elem.getStartOffset() <= offset)	      && (offset < elem.getEndOffset()))	    return index;        }	return 0;    }