Different editor behaviour when inserting reusable components depending on mode
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 9
- Joined: Fri Jan 20, 2023 1:05 am
Different editor behaviour when inserting reusable components depending on mode
I have a simple DITA project, with some standard topics and a concept containing a list of definitions. I intend to occasionally use a definition in a standard topic. Each <dlentry> in the glossary has an identifying attribute, and these definitions are visible in the DITA Reusable Components panel.
If I insert a definition from the DITA Reusable Components panel in Text mode, the editor places the parent <dlentry> without any of its children, resulting in a validation error:
If I insert a definition from the DITA Reusable Components panel in Author mode, the editor places all the content encompassed by the <dlentry>. If I switch back to Text mode, the document is valid and I can see that all the children have been inserted as self-closing tags:
Is this a bug in the software or something I have misunderstood? Thanks for any explanation.
If I insert a definition from the DITA Reusable Components panel in Text mode, the editor places the parent <dlentry> without any of its children, resulting in a validation error:
Code: Select all
<dlentry conref = "example_hierarchy.dita#University/accommodation"/>
Code: Select all
<dlentry conref="example_hierarchy.dita#University/accommodation">
<dt/>
<dd/>
</dlentry>
-
- Posts: 78
- Joined: Wed Jun 22, 2016 2:48 pm
Re: Different editor behaviour when inserting reusable components depending on mode
Post by adrian_sorop »
Hi,
Thank you for reporting this unexpected behaviour.
I was able to reproduce it. I've logged an internal issue to fix it.
Once the issue will be fixed, I'll update the thread.
Regards,
Adrian S.
Thank you for reporting this unexpected behaviour.
I was able to reproduce it. I've logged an internal issue to fix it.
Once the issue will be fixed, I'll update the thread.
Regards,
Adrian S.
Adrian Sorop
<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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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