-# written beforrrrrreeeeeeee
-
-# # initialize the xml parser
-# my $parser = XML::LibXML->new();
-# read in the JTAG specification file
-# print VERBOSE "parsing specifications file...\n";
-# my $specTree = $parser->parse_file($specFile);
-# my $configTree = $parser->parse_file($configFile);
+
my $specMaps = $specTree->findnodes("/MAPS")->shift();
my $configMaps = $configTree->findnodes("/MAPS")->shift();
-#
-# # perform compatibility checks
-#
-# $specFile =~ m/([^\/]+\.xml)$/;
-# my $specFileName = $1;
-#
+
my $configSpecDbFileName = $configMaps->findvalue("./\@specDbFile");
unless ($configSpecDbFileName eq $specFileName) {
die "given specification file name does not match the specDbFile tag in the config file!\n";