Don't have FXPLOT validate DP and session files against the DTD. Ref #514

This commit is contained in:
John M. Penn 2017-11-09 16:31:26 -06:00
parent bac90aac14
commit a9aff05320

View File

@ -23,7 +23,7 @@ int DPM_parse_tree::Initialize(const char *XMLFileName) {
exit(0);
}
doc = xmlCtxtReadFile( parser_context, XMLFileName, NULL, XML_PARSE_DTDVALID );
doc = xmlCtxtReadFile( parser_context, XMLFileName, NULL, 0 );
if (doc == NULL) {
std::cerr << "ERROR: Parse of XML file \"" << XMLFileName << "\"" << " failed." << std::endl;