Import_from_xml.php XML Error: Mismatched tag

I am working on moving an entire site from one system to another, so I was testing using the export_to_xml.php script and the export went fine, but when I try to use the import script, I get the error:

    XML Error: Mismatched tag


It doesn't give me any indication of WHERE in the file the mismatched tag is, which is frustrating since the xml file has 48,000 lines in it. Is there any clue as to why the export script would not export correct xml?

I figured out what was going on by modifying import.inc to show the line number where the error was occurring. Line 55 was changed to:

    echo 'XML Error: '.xml_error_string($error_code).' Line:'.xml_get_current_line_number($p).' Col:'.xml_get_current_column_number($p)."\n";


Any chance that could be added to that file in core/lib?

[quote]
I figured out what was going on by modifying import.inc to show the line number where the error was occurring. Line 55 was changed to:


    echo 'XML Error: '.xml_error_string($error_code).' Line:'.xml_get_current_line_number($p).' Col:'.xml_get_current_column_number($p)."\n";


Any chance that could be added to that file in core/lib?
[/quote]

I guess it should be added. Certainly is helpful to users and isn't too big of a change. Will do :)

Cheers