Line breaks between XML attributes stripped out by Trados 2009
Thread poster: Rivermonster
Oct 22, 2012


I have a problem with line breaks not being respected in Trados Studio 2009 target output.

I made a file type in Trados Studio 2009 that allows me to translate the values of XML tag attributes.
For example, here the XML tag is called TocEntry and it has two attributes, "Title" and "Link".

Title="English text"
Link="/Content/Topic.htm" /TocEntry

There is a hard line break at the end of each line. . (In order to include this code in the forum post I had to remove the parentheses.)

Trados detects the file correctly and I am able to edit the attribute value of the "Title" attribute as expected. I do not get any error messages when generating the output. However, when I look at the output in a text editor I see Trados has removed the line breaks that occur between the attributes. So my example above appears like this:

TocEntry Title="Texto español" Link="/Content/Topic.htm" /TocEntry

The lack of line breaks is causing issues in the 3rd party application that uses these files.

I tested with Trados Studio 2011 on a colleague's PC and everything worked fine (first I recreated the file type, then I translated and saved the xml file and generated the target. Then I checked the line breaks).

So it seems that this was a bug in 2009 that was fixed in 2011. Can anybody confirm this? My doubt is if my colleague's Trados 2011 installation is configured differently in some way that I can also do for my own installation to get this working.



[Edited at 2012-10-22 16:12 GMT]

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 »

Line breaks between XML attributes stripped out by Trados 2009

Advanced search

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, integration, community-driven development – a few reasons BaccS is trusted by translators!

More info »
WordFinder Unlimited
For clarity and excellence

WordFinder is the leading dictionary service that gives you the words you want anywhere, anytime. Access 260+ dictionaries from the world's leading dictionary publishers in virtually any device. Find the right word anywhere, anytime - online or offline.

More info »

  • All of
  • Term search
  • Jobs
  • Forums
  • Multiple search