| 247 | } |
| 248 | |
| 249 | inline bool |
| 250 | EsiParser::_processSimpleContentTag(DocNode::TYPE node_type, const char *data, int data_len, DocNodeList &node_list) const |
| 251 | { |
| 252 | DocNode new_node(node_type); |
| 253 | if (!parse(new_node.child_nodes, data, data_len)) { |
| 254 | TSError("[%s] Could not parse simple content of [%s] node", __FUNCTION__, DocNode::type_names_[node_type]); |
| 255 | return false; |
| 256 | } |
| 257 | node_list.push_back(new_node); |
| 258 | return true; |
| 259 | } |
| 260 | |
| 261 | bool |
| 262 | EsiParser::_parse(const string &data, int &parse_start_pos, DocNodeList &node_list, bool last_chunk /* = false */) const |