| 125 | class FailureParser : public XMLParser { |
| 126 | public: |
| 127 | FailureParser(const std::string& xml) : XMLParser(xml.data(), xml.size()) {} |
| 128 | void parse() { CHECK(!XMLParser::parse(_ex) && _ex); } |
| 129 | bool onStartXMLElement(const char* name, Parameters& attributes) { return true;} |
| 130 | bool onInnerXMLElement(const char* name, const char* data, UInt32 size) { return true; } |