Downloaded sdlxliff file turns into XML file
Thread poster: Gerti Hofmann

Gerti Hofmann  Identity Verified
United Kingdom
Local time: 06:43
English to German
+ ...
Nov 28, 2014

This has happened twice in the last couple of days: I downloaded an sdlxliff file from a client's workspace but on my computer the file appears as an XML file. Does anybody know the reason for this and how it can be avoided?

Direct link Reply with quote
 

Joakim Braun  Identity Verified
Sweden
Local time: 07:43
German to Swedish
+ ...
Content-Type Nov 28, 2014

Just guessing:
The server serves the file with Content-Type: text/xml headers.
This isn't wrong, since sdlxliff files are XML files.

Depending on server setup the actual file name may not be transmitted correctly.
Can you simply change the file extension to .sdlxliff and get a useable file? If so, there's probably nothing wrong on your side.

[Edited at 2014-11-28 19:13 GMT]


Direct link Reply with quote
 

Gerti Hofmann  Identity Verified
United Kingdom
Local time: 06:43
English to German
+ ...
TOPIC STARTER
It really is an XML file Dec 1, 2014

Thank you, but the file actually does seem to be an XML file: the colour symbol which appears next to it in Windows Explorer is not that of an sdlxliff file, and it doesn't open like an sdlxliff file in Studio but all its contents (English and German text as well as formatting instructions etc.) appear in the source column, with the target column empty.

Direct link Reply with quote
 

SDL Community  Identity Verified
United Kingdom
Local time: 07:43
English
Can you share... Dec 1, 2014

... the header from the file itself? Open it in a text editor and just post a few lines from the start.

Regards

Paul


Direct link Reply with quote
 

Gerti Hofmann  Identity Verified
United Kingdom
Local time: 06:43
English to German
+ ...
TOPIC STARTER
Here it is Dec 1, 2014

Trying to open it in Word gave me an error message ("The file contains custom XML elements which are no longer supported by Word...") , so I opened the file by clicking on it in Internet Explorer:




-


-


-


-


Direct link Reply with quote
 

Gerti Hofmann  Identity Verified
United Kingdom
Local time: 06:43
English to German
+ ...
TOPIC STARTER
Sorry ... Dec 1, 2014

I just saw after posting that the copied bits don't show up. Here is the header again, copied by hand:


- - < doc-info xmlns=http://sdl.com/ FileTypes/sdlxliff/1.0">


Direct link Reply with quote
 

Gerti Hofmann  Identity Verified
United Kingdom
Local time: 06:43
English to German
+ ...
TOPIC STARTER
Trying again as copied bits still doesn't show in last post... Dec 1, 2014

-doc-info xmlns=” http://sdl.com/File Types/sdlxliff/1.0”

Direct link Reply with quote
 

Gerti Hofmann  Identity Verified
United Kingdom
Local time: 06:43
English to German
+ ...
TOPIC STARTER
Sorry, not sure why ... Dec 1, 2014

... the copied header isn't showing fully in above posts?

Direct link Reply with quote
 

SDL Community  Identity Verified
United Kingdom
Local time: 07:43
English
This is an sdlxliff file... Dec 1, 2014

Gerti Hofmann wrote:

Trying to open it in Word gave me an error message ("The file contains custom XML elements which are no longer supported by Word...") , so I opened the file by clicking on it in Internet Explorer:

<?xml version="1.0" encoding="UTF-8"?>
<xliff sdl:version="1.0" version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:sdl="http://sdl.com/FileTypes/SdlXliff/1.0">
<doc-info xmlns="http://sdl.com/FileTypes/SdlXliff/1.0">



... so now you have it in your desktop try renaming the extension as sdlxliff. I have no idea how it saves as an xml file but maybe something is recognising the contents as xml (which it is) and then not respecting the extension by default.

Renaming it might be the simple solution you're looking for.

Regards

Paul

ps. If you want tagged content to display in this form you have to use entities for these < > symbols. So as follows (without the spaces):

< = & l t ;
> = & g t ;


Direct link Reply with quote
 

Gerti Hofmann  Identity Verified
United Kingdom
Local time: 06:43
English to German
+ ...
TOPIC STARTER
How do I rename? Dec 1, 2014

Hi Paul,
Thanks for the reply. I've just received another file by the client which has the same problem so I'd like to try renaming the file as you suggested. But silly question: How do I rename the extension? Using "rename" in Windows Explorers, I can just rename the file name, not the extension?


Direct link Reply with quote
 

Emma Goldsmith  Identity Verified
Spain
Local time: 07:43
Member (2010)
Spanish to English
Renaming the extension Dec 1, 2014

Gerti Hofmann wrote:

How do I rename the extension? Using "rename" in Windows Explorers, I can just rename the file name, not the extension?


You can also rename the extension. You'll get a warning message saying that the file might become unusable, but just say OK to that.

If you can't see the extension in the file name at all, check out this article:
http://www.pcadvisor.co.uk/how-to/software/3341794/how-show-or-hide-file-extensions/


Direct link Reply with quote
 

Gerti Hofmann  Identity Verified
United Kingdom
Local time: 06:43
English to German
+ ...
TOPIC STARTER
Many thanks ... Dec 1, 2014

renaming the file worked!

Direct link Reply with quote
 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Downloaded sdlxliff file turns into XML file

Advanced search







SDL Trados Studio 2017 only €415 / $495
Get the cheapest prices for SDL Trados Studio 2017 on ProZ.com

Join this translator’s group buy brought to you by ProZ.com and buy SDL Trados Studio 2017 Freelance for only €415 / $495 / £325 / ¥60,000 You will also receive FREE access to our getting started eLearning program!

More info »
PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search