element and attribute code compiling
diff --git a/xmltest.cpp b/xmltest.cpp
index c3f1b3b..8f724bf 100644
--- a/xmltest.cpp
+++ b/xmltest.cpp
@@ -15,10 +15,20 @@
doc.Parse( test );
doc.Print( stdout );
}
-#endif
{
static const char* test = "<!--hello world\n"
- " line 2\r-->";
+ " line 2\r"
+ " line 3\r\n"
+ " line 4\n\r"
+ " line 5\r-->";
+
+ XMLDocument doc;
+ doc.Parse( test );
+ doc.Print( stdout );
+ }
+#endif
+ {
+ static const char* test = "<element />";
XMLDocument doc;
doc.Parse( test );