Writes a simple value into the current context
| 68 | |
| 69 | /// Writes a simple value into the current context |
| 70 | BOOL ValidateXmlWriter::write(const std::string& value) { |
| 71 | if (file == nullptr) return FALSE; |
| 72 | |
| 73 | std::string escaped_value = escape_xml_value(value); |
| 74 | |
| 75 | printIndent(stream); |
| 76 | stream << escaped_value << "\n"; |
| 77 | |
| 78 | return TRUE; |
| 79 | } |
| 80 | |
| 81 | /// Writes a numeric value into the current context |
| 82 | BOOL ValidateXmlWriter::write(I32 value) { |
no test coverage detected