@Override
 public void endDocument() throws SAXException {
   addElementErrors();
   accessor.initModel(fxModel, controllerName, rootComponent, language);
   int end = contentLocator.getElementOffset();
   i(fxModel).endContent(end).endsAt(end, true);
   // attempt to fix up unclosed elements
   // fixNodes(i(fxModel), end);
 }