Search the web
Sign In
New User? Sign Up
okapitools · Okapi Tools
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Olifant reports TMX error   Message List  
Reply | Forward Message #880 of 1029 |
RE: [okapitools] Olifant reports TMX error

Hi Raymond,


> I'm trying to open a TMX file and keep getting an error (see attached
screenshot of the log).
> Can you point me in the right direction please ?

The 37th character of the line 377 of your TMX document is a control character.
In this case 0x1F which is the "Information
separator one", or "Unit separator" character. The bottom line is that most
control characters are not allowed in XML documents (See
http://www.w3.org/TR/REC-xml/#charsets for details). Since TMX is an XML format,
that is not allowed there either.

A workaround in Olifant is to import the file instead of opening it. In the TMX
Import Options dialog you will see the option "Check
for invalid XML characters". Set that option ON.

This will pre-process the input file and replace any invalid XML characters by
_#xHHHH_ where HHHH is the Unicode hexadecimal value
of the character. Note that this option causes the input file to be read a first
time to create a temporary input file, which can be
time-consuming if the file is large.

Note also that these characters are left as _#xHHHH_ after: Olifant does not
convert them back automatically when saving the file.
You have to decide yourselves what you want to do with them. They are likely to
give you problems in many other XML tools you use.

I hope this helps,
Kenavo,
-yves






Thu Jul 9, 2009 11:05 am

yves_savourel
Offline Offline
Send Email Send Email

Forward
Message #880 of 1029 |
Expand Messages Author Sort by Date

Hello I'm trying to open a TMX file and keep getting an error (see attached screenshot of the log). Can you point me in the right direction please ? Best...
Raymond RUSSELL
russellraym
Offline Send Email
Jul 9, 2009
9:45 am

Hi Raymond, ... The 37th character of the line 377 of your TMX document is a control character. In this case 0x1F which is the "Information separator one", or...
Yves Savourel
yves_savourel
Offline Send Email
Jul 9, 2009
11:06 am

Thankyou Yves - that solved my problem. Can I trouble you with another (related) question : I deleted junk TUs from Olifant.tmx reducingd the TM by about 5000...
Raymond RUSSELL
russellraym
Offline Send Email
Jul 10, 2009
5:21 pm

You have to do a save before exporting. Check in the left bottom corner if your junk entries have been deleted -- the total number of entries should change. ...
Esther Pfeffer
esther_pfeffer
Offline Send Email
Jul 10, 2009
5:48 pm

... Like Esther said, make sure to save before exporting. Even if the bad entries were just filtered out (not visible but in the db) you would get only the...
Yves Savourel
yves_savourel
Offline Send Email
Jul 10, 2009
6:33 pm

Hello Esther, Yves, et al Thanks for the various tips. I have the feeling there's something not quite right with my TM. TMXvalidator hangs up when it tries to...
Raymond RUSSELL
russellraym
Offline Send Email
Jul 11, 2009
9:45 am

Hi Raymond -- You wrote twice <New,tmx> in the same paragraph. Is it possible that you've been typng a comma instead of a dot? That would also explain why...
Esther Pfeffer
esther_pfeffer
Offline Send Email
Jul 11, 2009
11:21 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help