Can't comment out DITA that contains double dash --
Oxygen general issues.
-
- Posts: 1
- Joined: Fri Dec 20, 2019 10:47 pm
Can't comment out DITA that contains double dash --
Post by morrisonmc »
In the oXygen XML Editor Author mode, when I click the Toggle Comment button to comment out a part of my DITA document, I see the following error message:
Here's part of what I was trying to comment out:
And, indeed, there is a double dash -- in the href for the xref. The double dash comes from the base topic's ID:
My question: can I change the way that oXygen adds auto-generated IDs to not include a double dash in the ID? If the ID has no double dash, I can easily comment out any section of a DITA document. As it is, there are many parts of a document that I cannot comment out. I did not see any option or preference that controls auto-generated IDs.
From this forum, I saw that oXygen is supposed to convert the -- to an escaped-string (such as -\-) to allow commenting to work. However, I do not see this behavior. I have oXygen XML Editor 18.0.
-- Michael
Code: Select all
The character sequence '--' is not permitted within comments
Code: Select all
<xref href="#xd_179f5ba22902868a-28cc585f-140514b5b56--7eae/step_zfy_3kx_bkb" format="dita"/>
Code: Select all
<task xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" id="xd_179f5ba22902868a-28cc585f-140514b5b56--7eae" xml:lang="en-US">
From this forum, I saw that oXygen is supposed to convert the -- to an escaped-string (such as -\-) to allow commenting to work. However, I do not see this behavior. I have oXygen XML Editor 18.0.
-- Michael
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Can't comment out DITA that contains double dash --
Post by alex_jitianu »
Hi Michael,
We intend to improve the Toggle Comment action from the author page as well, so I will add your vote for it. As soon as we address it, we will post a notice on this thread.
Best regards,
Alex
It's not related to the Oxygen version. This behavior is present only in the text page. So just switch to the text page, select the topic and invoke the Toggle Comment action from the contextual menu. Please note that when you decide to un-comment the section you'll need to use the action from the text page as well, because the one from the author page doesn't know how to remove that escaping backslash.From this forum, I saw that oXygen is supposed to convert the -- to an escaped-string (such as -\-) to allow commenting to work. However, I do not see this behavior. I have oXygen XML Editor 18.0.
We intend to improve the Toggle Comment action from the author page as well, so I will add your vote for it. As soon as we address it, we will post a notice on this thread.
Best regards,
Alex
-
- Posts: 14
- Joined: Wed Mar 03, 2021 1:37 pm
Re: Can't comment out DITA that contains double dash --
Post by IrinaNadolu »
Hello,
Thank you for your feedback, I added it on the already registered issue.
Regards,
Irina
Thank you for your feedback, I added it on the already registered issue.
Regards,
Irina
Irina Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Can't comment out DITA that contains double dash --
Hi,
Just to update this forum thread, we fixed this problem in Oxygen 24.1 which was released a few days ago.
Regards,
Radu
Just to update this forum thread, we fixed this problem in Oxygen 24.1 which was released a few days ago.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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