]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
I'm trying to cleanup jtageditor, xml2ini and ini2xml. All jtag xml file parsing...
authorMichael Wiebusch <stratomaster@gmx.net>
Thu, 11 Jul 2013 13:51:31 +0000 (15:51 +0200)
committerMichael Wiebusch <stratomaster@gmx.net>
Thu, 11 Jul 2013 13:51:31 +0000 (15:51 +0200)
tools/xml2ini.pl

index 82be1ced5f09f44cf62eb30b808253ffd3c2891e..18dbb85c9861b43ca46e2c3461e4a7175f79843e 100755 (executable)
@@ -139,22 +139,10 @@ print VERBOSE "specFileName: $specFileName\n specDir: $specDir\n";
 
 
 
-# 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";