| 183 | } |
| 184 | |
| 185 | struct Document::Expat |
| 186 | { |
| 187 | static void start_doctype_decl_handler( |
| 188 | void *data, const XML_Char *name, const XML_Char *sysid, const XML_Char *pubid, int has_internal_subset |
| 189 | ); |
| 190 | static void end_doctype_decl_handler(void *data); |
| 191 | static void start_element_handler(void *data, const XML_Char *name, const XML_Char **atts); |
| 192 | static void character_data_handler(void *data, const XML_Char *chars, int len); |
| 193 | static void end_element_handler(void *data, const XML_Char *name); |
| 194 | }; |
| 195 | |
| 196 | void Document::from_xml(const std::string& xml) |
| 197 | { |
nothing calls this directly
no outgoing calls
no test coverage detected