blob: c3f1b3b30619647b8244ecbaf1eef8c52dc52ff4 [file] [log] [blame]
U-Lama\Leee13c3e62011-12-28 14:36:55 -08001#include "tinyxml2.h"
2
3#include <stdio.h>
4#include <stdlib.h>
5
6using namespace tinyxml2;
7
8int main( int argc, const char* argv )
9{
Lee Thomasonfde6a752012-01-14 18:08:12 -080010#if 0
U-Lama\Lee4cee6112011-12-31 14:58:18 -080011 {
12 static const char* test = "<!--hello world-->";
U-Lama\Leee13c3e62011-12-28 14:36:55 -080013
U-Lama\Lee4cee6112011-12-31 14:58:18 -080014 XMLDocument doc;
15 doc.Parse( test );
16 doc.Print( stdout );
17 }
Lee Thomasonfde6a752012-01-14 18:08:12 -080018#endif
U-Lama\Lee4cee6112011-12-31 14:58:18 -080019 {
Lee Thomasonfde6a752012-01-14 18:08:12 -080020 static const char* test = "<!--hello world\n"
21 " line 2\r-->";
U-Lama\Leee13c3e62011-12-28 14:36:55 -080022
U-Lama\Lee4cee6112011-12-31 14:58:18 -080023 XMLDocument doc;
24 doc.Parse( test );
25 doc.Print( stdout );
26 }
U-Lama\Leee13c3e62011-12-28 14:36:55 -080027 return 0;
28}