mirror of https://github.com/AxioDL/tinyxml2.git
Merge pull request #612 from Dmitry-Me/fixMisleadingComment
Fix misleading comment
This commit is contained in:
commit
da24c3b221
|
@ -1909,7 +1909,8 @@ int main( int argc, const char ** argv )
|
||||||
|
|
||||||
{
|
{
|
||||||
// No matter - before or after successfully parsing a text -
|
// No matter - before or after successfully parsing a text -
|
||||||
// calling XMLDocument::Value() causes an assert in debug.
|
// calling XMLDocument::Value() used to cause an assert in debug.
|
||||||
|
// Null must be retured.
|
||||||
const char* validXml = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>"
|
const char* validXml = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>"
|
||||||
"<first />"
|
"<first />"
|
||||||
"<second />";
|
"<second />";
|
||||||
|
|
Loading…
Reference in New Issue