Fixed progress bar color changing
This commit is contained in:
@@ -971,7 +971,7 @@ public class XML_processing {
|
||||
}
|
||||
|
||||
// taxonomy node
|
||||
else if (qName.equalsIgnoreCase("term")) {
|
||||
else if (stats.getCorpus().getTaxonomy().size() > 0 && qName.equalsIgnoreCase("term")) {
|
||||
// there are some term nodes at the beginning that are of no interest to us
|
||||
// they differ by not having the attribute "ref", so test will equal null
|
||||
Attribute tax = startElement.getAttributeByName(QName.valueOf("ref"));
|
||||
@@ -983,7 +983,7 @@ public class XML_processing {
|
||||
// Tax taxonomy = new Tax();
|
||||
// currentFiletaxonomyLong.add(taxonomy.getLongTaxonomyName(currentFiletaxonomyElement));
|
||||
}
|
||||
} else if (qName.equalsIgnoreCase("catRef")) {
|
||||
} else if (stats.getCorpus().getTaxonomy().size() > 0 && qName.equalsIgnoreCase("catRef")) {
|
||||
// get value from attribute target
|
||||
Attribute tax = startElement.getAttributeByName(QName.valueOf("target"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user