If hard return after XML declaration, Trados says not valid XLIFF
Thread poster: Samuel Murray

Samuel Murray  Identity Verified
Local time: 19:00
Member (2006)
English to Afrikaans
+ ...
Feb 26, 2010

G'day everyone

Here is a technical question to the Trados people.

In an SDLXLIFF file created by Trados 2009, there is no hard return between the < ? x m l v e r s i o n = " 1 . 0 " e n c o d i n g = " u t f - 8 " ? > (here spaced out for ProZ.com forum bug) and whatever comes after it. If I put a hard return after it, Trados refuses to open the SDLXLIFF file and tells me that it is not valid XLIFF.

The XML specification http://www.w3.org/TR/REC-xml/ doesn't say that there should or shouldn't be a hard return, nor does it say whether it is optional. In all examples given on the specification document, there is always a hard return.

I would have thought that Trados 2009 would accept a file with a hard return in that position, but it doesn't. Why not? Does anyone know? Is this a bug in Trados 2009? Will it be fixed?


[Edited at 2010-02-26 15:51 GMT]


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

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

If hard return after XML declaration, Trados says not valid XLIFF

Advanced search

SDL Trados Studio 2017 only €435 / $519
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 €435 / $519 / £345 / ¥63000 You will also receive FREE access to Studio 2019 when released.

More info »
BaccS – Business Accounting Software
Modern desktop project management for freelance translators

BaccS makes it easy for translators to manage their projects, schedule tasks, create invoices, and view highly customizable reports. User-friendly, ProZ.com integration, community-driven development – a few reasons BaccS is trusted by translators!

More info »

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