inline void read_skip_comment(xmlpp::TextReader &reader) { const int line = xml_line(reader.get_current_node()); do { if(!reader.read()) throw xml_eof(line); } while(reader.get_node_type() == xmlpp::TextReader::Comment); }
xml_error(const xmlpp::TextReader &reader, const str &e) : std::runtime_error(e), line(xml_line(reader.get_current_node())) { }