Renamed endElement() to finishElement(), see the final implementation in BaseXmlTempl...