| 82 | } |
| 83 | |
| 84 | void XMLValidator::warning(const SAXParseException & exception) |
| 85 | { |
| 86 | char * message = XMLString::transcode(exception.getMessage()); |
| 87 | String error_message = String("Validation warning in file '") + filename_ + "' line " + (UInt) exception.getLineNumber() + " column " + (UInt) exception.getColumnNumber() + ": " + message; |
| 88 | (*os_) << error_message << endl; |
| 89 | valid_ = false; |
| 90 | XMLString::release(&message); |
| 91 | } |
| 92 | |
| 93 | void XMLValidator::error(const SAXParseException & exception) |
| 94 | { |
nothing calls this directly
no test coverage detected