// Set the Smooks instnace to use the SAX filter...
smooks.setFilterSettings(FilterSettings.DEFAULT_SAX);
// Add a DOM-only visitor
smooks.addVisitor(new ProcessorVisitor1(), "a");
try {
smooks.filterSource(new StringSource("<a/>"));
fail("Expected SmooksException.");
} catch (SmooksException e) {