Bug #9766 Export Table to XML is incorrect.
Submitted: 8 Apr 2005 16:12 Modified: 2 May 2005 12:32
Reporter: Jay Alverson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:4.1 OS:Windows (Windows)
Assigned to: Vladimir Kolesnikov CPU Architecture:Any

[8 Apr 2005 16:12] Jay Alverson
Description:
When you export a table and one of the column names has a space inside it, it'll export the column name with a space -- which is not well formed XML.

This might be happening in the command line version as well, (I haven't tried it yet).

How to repeat:
Create table, and make one of the column names have a space in it. Put some data into the table.

Export the table to XML. Then try loading the XML in MSIE, you'll get "invalid character in content model" and a pointer to the space.

Suggested fix:
Use an XML parser to validate the export file first.
[8 Apr 2005 17:28] Geert Vanderkelen
Hi Jay,

Query Browser produces different XML output than mysqldump.
Thanks for the report.

Regards,
Geert
[2 May 2005 12:32] Vladimir Kolesnikov
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html