Search in DITA reusable components
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 25
- Joined: Fri Nov 27, 2020 12:08 pm
Search in DITA reusable components
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.
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.
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Search in DITA reusable components
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Search in DITA reusable components
Hi Piotr,
As an update, we released Oxygen 27.1 and it should have a fix for this particular problem you reported.
Regards,
Radu
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 25
- Joined: Fri Nov 27, 2020 12:08 pm
Re: Search in DITA reusable components
Hi Radu,
The search works perfectly... until you are going nerdy.
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
The search works perfectly... until you are going nerdy.

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.
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Search in DITA reusable components
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Search in DITA reusable components
Hi,
Coming back to this, when searching in general for precise values like IDs, you can try to wrap the searched string in double quotes, from what I tested this should fix the last found problem. In general the search indexing capabilities attempt to find searched words so the search is more flexible unless you wrap the searched value in double quotes.
Regards,
Radu
Coming back to this, when searching in general for precise values like IDs, you can try to wrap the searched string in double quotes, from what I tested this should fix the last found problem. In general the search indexing capabilities attempt to find searched words so the search is more flexible unless you wrap the searched value in double quotes.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Search in DITA reusable components
Hi Piotr,
Yes, in a way. Because if you search for "front-runner" (no quotes) you may be happy that a topic containing both "front" and "runner" is found, so certain processing of the searched string may be beneficial as most of the times we prefer to find multiple items when a single one is looked for than to find nothing at all.
Regards,
Radu
Yes, in a way. Because if you search for "front-runner" (no quotes) you may be happy that a topic containing both "front" and "runner" is found, so certain processing of the searched string may be beneficial as most of the times we prefer to find multiple items when a single one is looked for than to find nothing at all.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service