Find problem in Thai XML instance

Having trouble installing Oxygen? Got a bug to report? Post it all here.
tmakita
Posts: 116
Joined: Fri Apr 08, 2011 7:58 am

Find problem in Thai XML instance

Post by tmakita »

Hi,

I found some problem in finding word in Thai document. Please look at following image. (But they are too small!)

[Before finding]
Image

[After finding]
Image

The highlighted searched word is not accurate and the target word has been vanished.

Following is the same result done by Japanese text editor. The result of find action is fine.

Image

Please fix this problem. I uploaded this XML instance and above image to the following URL.

thai_example_1.zip
http://yahoo.jp/box/K-IhZS

This is Japanese Yahoo! site. You can download this zip file by clicking "ダウンロード" button located at the upper left of the screen.

My operating environment is as follows:

oXygen XML Author 15.2 (64bit)
Windows7 Home Premium 64bit

Regards,

Toshihiko Makita
--
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Find problem in Thai XML instance

Post by adrian »

Hello,

This can happen in Text mode for some content, if you have explicitly disabled the BiDi mode or the BiDi document size limit has been exceeded (not the case in your examples).
For Thai text especially I see that disabling BiDi mode garbles the text when selecting it (the Find tool selects the found matches).

Please check in Options > Preferences, Editor > Open/Save, Open subsection, the option selected for "When bidirectional (BIDI) text is detected:". By default Oxygen is configured to "Prompt for each document" at opening time. So you can either set it to that, or configure Oxygen to always enable BiDi mode when detecting such content: "Enable bidirectional editing".

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
tmakita
Posts: 116
Joined: Fri Apr 08, 2011 7:58 am

Re: Find problem in Thai XML instance

Post by tmakita »

Thank you Adrian.

Your suggestion solved this problem.

I did not notice that I opened this XML instance disabling the BIDI mode.

Regards,

Toshihiko Makita
--
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
Post Reply