| 425 | } |
| 426 | |
| 427 | bool |
| 428 | EsiParser::_processIncludeTag(const string &data, size_t curr_pos, size_t end_pos, DocNodeList &node_list) const |
| 429 | { |
| 430 | Attribute src_info; |
| 431 | if (!Utils::getAttribute(data, SRC_ATTR_STR, curr_pos, end_pos, src_info)) { |
| 432 | TSError("[%s] Could not find src attribute", __FUNCTION__); |
| 433 | return false; |
| 434 | } |
| 435 | node_list.push_back(DocNode(DocNode::TYPE_INCLUDE)); |
| 436 | node_list.back().attr_list.push_back(src_info); |
| 437 | Dbg(dbg_ctl, "[%s] Added include tag with url [%.*s]", __FUNCTION__, src_info.value_len, src_info.value); |
| 438 | return true; |
| 439 | } |
| 440 | |
| 441 | bool |
| 442 | EsiParser::_processSpecialIncludeTag(const string &data, size_t curr_pos, size_t end_pos, DocNodeList &node_list) const |
nothing calls this directly
no test coverage detected