13#include <libxml/xmlerror.h>
14#include <libxml/relaxng.h>
15#include <libxml++/document.h>
RelaxNGValidator()
constructor
void release_underlying()
free xml-related memory
~RelaxNGValidator()
destructor
void parse_memory(const Glib::ustring &contents)
parse a relaxng schema xml file
xmlRelaxNG * schema_
the schema
void parse_context(xmlRelaxNGParserCtxt *context)
parse a relaxng schema context
xmlRelaxNGValidCtxt * valid_context_
the validated context
bool Validate(const xmlpp::Document *doc)
validate an xml file agaisnt the given schema
For validating files received via IO.
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or....
T OptionalQuery(InfileTree *tree, std::string query, T default_val)
a query method for optional parameters