| 287 | |
| 288 | |
| 289 | void XMLStreamParser::nextExpect(EventType e) |
| 290 | { |
| 291 | if (next() != e) |
| 292 | throw XMLStreamParserException(*this, std::string(parserEventStrings[e]) + " expected"); |
| 293 | } |
| 294 | |
| 295 | |
| 296 | void XMLStreamParser::nextExpect(EventType e, const std::string& ns, const std::string& n) |