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

Hi,

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".

TocEntry
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.

Thanks,

Adrian

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


 


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







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 »
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 »



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