commit | 784607f31d8478e9a1246a1932dc23e4ffe4fe99 | [log] [tgz] |
---|---|---|
author | Lee Thomason (grinliz) <leethomason@gmail.com> | Fri Feb 24 16:23:40 2012 -0800 |
committer | Lee Thomason (grinliz) <leethomason@gmail.com> | Fri Feb 24 16:23:40 2012 -0800 |
tree | 5ea832a5fc827dd0c992977b98c0772e8c94db11 | |
parent | 7468f11413a6f19cd3e5d5f566ec305c1111c9cf [diff] [blame] |
another round on the element parsing. Test case passes.
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 73a4143..df68f3c 100644 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -629,6 +629,9 @@ if ( !p ) { DELETE_NODE( node ); node = 0; + if ( !document->Error() ) { + document->SetError( ERROR_PARSING, 0, 0 ); + } break; } @@ -1073,7 +1076,6 @@ return p; p = XMLNode::ParseDeep( p, strPair ); - // FIXME: proces end tage here?? return p; }