X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/d43174d0eb3d293b3bb5fbe76662241134e74d0d..107509468a60f3e9e698d82a2575b700d9dde07e:/Parameters.cpp?ds=inline diff --git a/Parameters.cpp b/Parameters.cpp index 4fd583d..af8eb22 100644 --- a/Parameters.cpp +++ b/Parameters.cpp @@ -529,7 +529,7 @@ void Parameters::loadReferencesFromXml() throw(Exception) { blockXML.close(); try { - validateXmlFile(fileName,"block.xsd",Reference); + validateXmlFile(fileName,"reference.xsd",Reference); } catch(Exception err) { throw(err); @@ -665,14 +665,14 @@ void Parameters::loadImplementationsFromXml() throw(Exception) { implXML.close(); cout << "OK" << endl; cout << "reading " << qPrintable(fileName) << " content ..."; - /* + try { - validateXmlFile(fileName,"block.xsd",Implementation); + validateXmlFile(fileName,"implementation.xsd",Implementation); } catch(Exception e) { throw(e); } - */ + // reading in into QDomDocument QDomDocument document ("FileXML"); if (!implXML.open(QIODevice::ReadOnly)) {