| 289 | // |
| 290 | |
| 291 | void readFromXmlBuffer(DocumentPtr doc, const char* buffer, FileSearchPath searchPath, const XmlReadOptions* readOptions) |
| 292 | { |
| 293 | searchPath.append(getEnvironmentPath()); |
| 294 | |
| 295 | xml_document xmlDoc; |
| 296 | xml_parse_result result = xmlDoc.load_string(buffer, getParseOptions(readOptions)); |
| 297 | validateParseResult(result); |
| 298 | |
| 299 | documentFromXml(doc, xmlDoc, searchPath, readOptions); |
| 300 | } |
| 301 | |
| 302 | void readFromXmlStream(DocumentPtr doc, std::istream& stream, FileSearchPath searchPath, const XmlReadOptions* readOptions) |
| 303 | { |
no test coverage detected