Downloaded sdlxliff file turns into XML file
Thread poster: Gerti Hofmann
Gerti Hofmann  Identity Verified
United Kingdom
Local time: 16:53
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: 17:53
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: 16:53
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: 17:53
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: 16:53
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: 16:53
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: 16:53
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: 16:53
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: 17:53
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: 16:53
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: 17:53
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: 16:53
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







TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »



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