How can I find a line back in a XML file?
Thread poster: Olieslagers

Olieslagers
French Polynesia
Local time: 13:05
Dutch to French
+ ...
Jul 11, 2013

Hello,

I just delivered a translated XML file and apparently the file contains an error:

Process file : xxxxxxxxxxxxxxxxxxxxxx - OR111255_20130704090747.xml
ERROR: Element '{http://www.authorit.com/xml/authorit}DisplayName' is unexpected according to content model of parent element '{http://www.authorit.com/xml/authorit}Variable'.
Expecting: {http://www.authorit.com/xml/authorit}ListOfValues.

Line: 187
68HI

For your information, I translated this file using Trados editor and I used the INI file.
So my question is: how can I find this line number 187? I suppose thats the one that contains the error.

Thank you for your help!


 

Riccardo Schiaffino  Identity Verified
United States
Local time: 17:05
Member (2003)
English to Italian
+ ...
Open the XML in any decent text editor Jul 11, 2013

Open the XML file (it is, in any case, a text file), using any decent Text editor (a good one is Notepad++)

 

Olieslagers
French Polynesia
Local time: 13:05
Dutch to French
+ ...
TOPIC STARTER
Thank you Riccardo! Jul 12, 2013

Isn't it simple once you know !

Now I still have to find the reason of this error...


 

Riccardo Schiaffino  Identity Verified
United States
Local time: 17:05
Member (2003)
English to Italian
+ ...
Try this Jul 12, 2013

If line 187 includes the string

{http://www.authorit.com/xml/authorit}DisplayName

try replacing it with

{http://www.authorit.com/xml/authorit}ListOfValues

Btw... anything you try - first make a copy of your file


 

Olieslagers
French Polynesia
Local time: 13:05
Dutch to French
+ ...
TOPIC STARTER
Problem is fixed Jul 13, 2013

I managed to fix the problem by running the TM over a clean original file.

Thanks very much for your help Riccardo, I really appreciated it!


 


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


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

How can I find a line back in a 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 »
SDL Trados Studio 2017 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2017 helps translators increase translation productivity whilst ensuring quality. Combining translation memory, terminology management and machine translation in one simple and easy-to-use environment.

More info »



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