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

Olieslagers
French Polynesia
Local time: 01:55
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: 05:55
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: 01:55
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: 05:55
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: 01:55
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







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



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