importing a file named 'new 1.xlf' results in the message

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "temporary://new%201.xlf" in TMGMTFileformatXLIFF->validateImport() (line 179 of C:\localweb\htdocs\tmgmt\sites\all\modules\tmgmt\translators\file\tmgmt_file.format.inc).
Failed to validate file, import aborted.

CommentFileSizeAuthor
#1 space_bug_fixed.patch2.11 KBberdir

Comments

berdir’s picture

Status: Active » Needs review
StatusFileSize
new2.11 KB

This is actually a PHP bug, see https://bugs.php.net/bug.php?id=61469.

Luckily for us, this can easily be worked around.

cgalli’s picture

Status: Needs review » Needs work

Getting a different error message after applying the patch

Failed to validate file, import aborted.

Addition: wrong, see next comment

cgalli’s picture

Status: Needs work » Reviewed & tested by the community

The file imports without error and the translation job is terminated

berdir’s picture

Status: Reviewed & tested by the community » Fixed

Commited.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.