#include <XMLValidator.hpp>
◆ XMLValidator() [1/3]
Constructor for a new validator.
The schemaPath extension is used to determine the type of validation to perform:
*.xsd
=> XSD
*.xml
or *.sch
=> Schematron (convert to XSLT then validate)
*.xslt
=> Schematron that is already transformed to an XSLT stylesheet
◆ ~XMLValidator()
openstudio::XMLValidator::~XMLValidator |
( |
| ) |
|
◆ XMLValidator() [2/3]
openstudio::XMLValidator::XMLValidator |
( |
const XMLValidator & | other | ) |
|
|
default |
◆ XMLValidator() [3/3]
openstudio::XMLValidator::XMLValidator |
( |
XMLValidator && | other | ) |
|
|
defaultnoexcept |
◆ bclXMLValidator()
◆ errors()
std::vector< LogMessage > openstudio::XMLValidator::errors |
( |
| ) |
const |
◆ fullValidationReport()
boost::optional< std::string > openstudio::XMLValidator::fullValidationReport |
( |
| ) |
const |
Only applicable for Schematron validation.
◆ gbxmlValidator()
◆ isValid()
bool openstudio::XMLValidator::isValid |
( |
| ) |
const |
◆ logMessages()
std::vector< LogMessage > openstudio::XMLValidator::logMessages |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ schemaPath()
◆ schematronToXslt()
Static helper to convert a Schematron file to an XSLT StyleSheet.
◆ validate()
◆ warnings()
std::vector< LogMessage > openstudio::XMLValidator::warnings |
( |
| ) |
const |
◆ xmlPath()