this.rootFObj = (Root) fobj;
this.rootFObj.setFOTreeBuilder(this);
return;
}
if (fobj.getName().equals("root")) {
final FoTreeException fote = new FoTreeException("Root element is "
+ "missing the namespace declaration: "
+ "http://www.w3.org/1999/XSL/Format");
fote.setContextMessage(fobj.getContextMessage());
throw new SAXException(fote);
}
final FoTreeException fote = new FoTreeException("Root element must be "
+ "root, not " + fobj.getName());
fote.setContextMessage(fobj.getContextMessage());
throw new SAXException(new FoTreeException(fote));
}