When there are multi errors on Special:Import the message importfailed does not handle the list correctly and the first * is not rendered an bullet point. It is a raw * instead, because it has not a newline before it.
You could trigger an error by just submitting the empty xml upload form on Special:Import