Search in DITA reusable components

Post here questions and problems related to editing and publishing DITA content.
Tygopit
Posts: 24
Joined: Fri Nov 27, 2020 12:08 pm

Search in DITA reusable components

Post by Tygopit »

Hi,
Why can I find elements with ID matching phrase like "122204" but not like "YY-122204"?
Searching for "YY-122204" finds only the elements with matching contents and ignores elements with matching IDs.
obraz.png
obraz.png
You do not have the required permissions to view the files attached to this post.
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: Search in DITA reusable components

Post by Radu »

Hi Piotr,
Good observation, I reproduced the problem and added an internal issue to investigate it further.
Pasting the issue ID below for future reference:
EXM-55163 DITA Reusable Components filter does not properly work when searching ID values which contain "-"
I will update this forum thread when a future Oxygen version with a fix for this problem becomes available.

A possible workaround if you are using Oxygen 26.1 and later.
When you have a topic opened in the Author visual editor mode you can place the caret inside a paragraph, press ENTER, choose "conref..." and then the list which appears in the content completion window seem to filter its entries correctly.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: Search in DITA reusable components

Post by Radu »

Hi Piotr,
As an update, we released Oxygen 27.1 and it should have a fix for this particular problem you reported.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Tygopit
Posts: 24
Joined: Fri Nov 27, 2020 12:08 pm

Re: Search in DITA reusable components

Post by Tygopit »

Hi Radu,
I have just finished updating the Oxy environment.
It seems that the search is now working perfectly and it saves me a lot of time.
Thanks!
Regards,
Piotr
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: Search in DITA reusable components

Post by Radu »

Hello Piotr,

Great, thanks for confirming!

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Tygopit
Posts: 24
Joined: Fri Nov 27, 2020 12:08 pm

Re: Search in DITA reusable components

Post by Tygopit »

Hi Radu,
The search works perfectly... until you are going nerdy. :twisted:
Is it a bug or... it's a feature?
The "0" at the second position of the underlined place is somehow ignored.
It is not such a big issue for me as the previous one, but rather a curiosity, which I hope I'll be facing rarely.
With regards,
Piotr
SearchA.png
SearchB.png
You do not have the required permissions to view the files attached to this post.
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: Search in DITA reusable components

Post by Radu »

Hi Piotr,
This looks like another bug, I reproduced it and added an internal issue for it, pasting the issue ID below:

EXM-55662 DITA Reusable Components - ID is found although it does not match

I will update this forum thread if we manage to fix this problem in a future version.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply