experimented with print f vs. g. increased version
diff --git a/xmltest.cpp b/xmltest.cpp
index 7df8b47..faa9386 100644
--- a/xmltest.cpp
+++ b/xmltest.cpp
@@ -951,7 +951,6 @@
const char* xml = "<element/>WOA THIS ISN'T GOING TO PARSE";
XMLDocument doc;
doc.Parse( xml, 10 );
- //doc.Print();
XMLTest( "Set length of incoming data", doc.Error(), false );
}
@@ -981,6 +980,18 @@
XMLTest( "Whitespace all space", true, 0 == doc.FirstChildElement()->FirstChild() );
}
+#if 0 // the question being explored is what kind of print to use:
+ // https://github.com/leethomason/tinyxml2/issues/63
+ {
+ const char* xml = "<element attrA='123456789.123456789' attrB='1.001e9'/>";
+ XMLDocument doc;
+ doc.Parse( xml );
+ doc.FirstChildElement()->SetAttribute( "attrA", 123456789.123456789 );
+ doc.FirstChildElement()->SetAttribute( "attrB", 1.001e9 );
+ doc.Print();
+ }
+#endif
+
// ----------- Performance tracking --------------
{
#if defined( _MSC_VER )