Commit f760c840 authored by Michael R Sweet's avatar Michael R Sweet

Fixed an XML fragment loading problem (Bug #494)

parent 9fef1efa
......@@ -10,6 +10,7 @@ CHANGES IN Mini-XML 2.8
- Added MXML_MAJOR/MINOR_VERSION definitions to mxml.h (Bug $461)
- Fixed a bug reading UTF-16 characters from a file (Bug #454)
- Fixed a memory leak when loading invalid XML (Bug #496)
- Fixed an XML fragment loading problem (Bug #494)
CHANGES IN Mini-XML 2.7
......
......@@ -22,6 +22,8 @@ hspace="10" width="100" height="100" alt="B"></a>Release Notes</h1>
<li>Fixed a memory leak when loading invalid XML (Bug #496)</li>
<li>Fixed an XML fragment loading problem (Bug #494)</li>
</ul>
......
......@@ -2043,7 +2043,7 @@ mxml_load_data(
{
node = parent;
while (parent->parent != top && parent->parent)
while (parent != top && parent->parent)
parent = parent->parent;
if (node != parent)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment