Duplicate attribute name ?
Thread poster: Hans Näslund

Hans Näslund
Sweden
Local time: 20:42
Member (2004)
English to Swedish
+ ...
Apr 4, 2013

When I try to print the preview after finishing a translation in Studio 2011, I get the error message "text-decoration is a duplicate attribute name", and no preview is created, which makes it impossible to proofread the translation properly.

When searching in the Internet, I learned that an XML file cannot have duplicate attribute names, but that does not help me. What is the reason for this error in Studio, and is there anything I can do about it?

I should add that the origiinal is an InDesign file in idml format.

This is the first time this has happened to me.

[Edited at 2013-04-04 14:26 GMT]

[Edited at 2013-04-04 14:41 GMT]


 

ErikAnderson3
Local time: 11:42
Time to get hacky -- use a text editor. Apr 29, 2013

Hans Näslund wrote:

When I try to print the preview after finishing a translation in Studio 2011, I get the error message "text-decoration is a duplicate attribute name", and no preview is created, which makes it impossible to proofread the translation properly.

When searching in the Internet, I learned that an XML file cannot have duplicate attribute names, but that does not help me. What is the reason for this error in Studio, and is there anything I can do about it?

I should add that the origiinal is an InDesign file in idml format.

This is the first time this has happened to me.

[Edited at 2013-04-04 14:26 GMT]

[Edited at 2013-04-04 14:41 GMT]


Your best bet is to 1) get the error details, looking especially for a line number, 2) copy the file (just in case!), then 3) open one of the copies in a text editor and go to that line number. If you can find the XML element that does indeed have a duplicated attribute, delete one of the dupes, save and close. Re-open the file in Studio and try to preview.

Hope that helps,

-- Erik Anderson


 


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


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

Duplicate attribute name ?

Advanced search







SDL MultiTerm 2017
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2017 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2017 you can automatically create term lists from your existing documentation to save time.

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 »



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