errorCounter = 0;
config.setParameter("psvi", Boolean.TRUE);
config.setParameter("error-handler",errorHandler);
config.setParameter("validate", Boolean.TRUE);
config.setParameter("schema-type", "http://www.w3.org/2001/XMLSchema");
core.normalizeDocument();
Assertion.verify(errorCounter == 0, "No errors should be reported");
Assertion.verify(((ElementPSVI)e1).getElementDeclaration().getName().equals("person"), "e1 decl");
config = builder.getDomConfig();
config.setParameter("validate", Boolean.FALSE);