}
public void check(Descriptor descriptor) throws Exception {
// run the ParseDD test
if (getSchemaVersion(descriptor).compareTo("1.5") < 0) { // NOI18N
ConnectorDeploymentDescriptorFile ddf = new ConnectorDeploymentDescriptorFile();
File file = new File(new File(URI.create(getAbstractArchiveUri(descriptor))),
ddf.getDeploymentDescriptorPath());
FileInputStream is = new FileInputStream(file);
try {
if (is != null) {
Result result = new ParseDD().validateConnectorDescriptor(is);
result.setComponentName(getArchiveUri(descriptor));