| 236 | } |
| 237 | |
| 238 | bool XMLFile::isValid(const String & filename, std::ostream & os) |
| 239 | { |
| 240 | if (schema_location_.empty()) |
| 241 | { |
| 242 | throw Exception::NotImplemented(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION); |
| 243 | } |
| 244 | String current_location = File::find(schema_location_); |
| 245 | return XMLValidator().isValid(filename, current_location, os); |
| 246 | } |
| 247 | |
| 248 | const String & XMLFile::getVersion() const |
| 249 | { |