final NamespaceService nsService = new DefaultNamespaceService(
cache, cacheLookup, nsindexer);
final SemanticService semantics = new SemanticServiceImpl(nsService);
final AnnotationService annotationService =
new DefaultAnnotationService();
validationService = new DefaultValidationService(
nsService, semantics, annotationService);
boolean pedantic = hasOption(PEDANTIC_OPTION);
boolean permissive = hasOption(PERMISSIVE_OPTION);
boolean verbose = hasOption(StandardOptions.LONG_OPT_VERBOSE);