ControllerValidationInfo info = new ValidationInfoImpl(uri, messagegenerator);
URIResolver uriResolver = new URIResolver();
((ValidationInfoImpl) info).setURIResolver(uriResolver);
StandardParserConfiguration configuration = new StandardParserConfiguration();
DOMParser builder = new LineNumberDOMParser(configuration);
builder.parse(uri);
DocumentBuilder db;
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setNamespaceAware(true);