31 bool validate(gsl::czstring xmlContent, std::string &outErrors)
const;
35 std::unique_ptr<Impl> pimpl;
SchemaValidator(gsl::czstring xsdPath)
Loads an XSD schema for validation.
SchemaValidator & operator=(const SchemaValidator &)=delete
bool validate(gsl::czstring xmlContent, std::string &outErrors) const
Validates an XML string against the loaded schema.
bool isValid() const
Checks if the schema was successfully loaded and parsed.
SchemaValidator(const SchemaValidator &)=delete