Importing exported XML documents: single quotes in doclinks

If you export a document that has a doclink in a rich text field, the element looks like this:

<doclink view=‘504CA249C786E20F85256284006DA7AB’ server=‘CN=server/O=org’ database=‘8725637F007B441C’ document=‘5438BC20E16EAE3187256A6E007AA58E’ description=‘Database ‘DB Title’, View ‘view name’, Document ‘document title’’/>

If you look closely at the “description” attribute, it contains single quotes within a string bracketed by single quotes. When you try to import this XML back in, the Importer.Log contains something like this:

Expected whitespace

Shouldn’t the exporter be escaping the single quotes or something so they don’t get mixed up with the ones actually quoting the string?

Subject: Yes, it should. Looks like you found a bug. (eom)