if (!_engineMatchesSheetLoader) {
if (_sheetModelBuilder == null) {
throw new Error("loadStylesheet called before setParsers");
}
_engine = new EngineImpl(_sheetModelBuilder,
new ExtensionHandlerImpl());
_engineMatchesSheetLoader = true;
}
try {
// build an object model
phase(1);