XML refactoring removes CDATA markup
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 71
- Joined: Sat Jan 07, 2017 1:23 am
XML refactoring removes CDATA markup
I tried using the XML Refactoring tool to add an attribute to an element that has CDATA content, e.g.,
When I added the attribute 'version="MathJax"', the CDATA markup was stripped out, leaving me with
How can I add the attribute without making any other changes?
Code: Select all
<tex-math notation="LaTeX">
<![CDATA[ \( E = mc^2 \) ]]>
</tex-math>
Code: Select all
<tex-math notation="LaTeX" version="MathJax">\( E = mc^2 \)</tex-math>
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XML refactoring removes CDATA markup
Hi,
Unfortunately the Saxon processor we are using to perform the XML refactoring operations will consider CData sections as plain text so it will lose their original semantics. We have an internal issue registered to somehow try to overcome this limitation and I added your feedback to the opened issue. If we manage to fix it we'll update this forum thread.
Regards,
Radu
Unfortunately the Saxon processor we are using to perform the XML refactoring operations will consider CData sections as plain text so it will lose their original semantics. We have an internal issue registered to somehow try to overcome this limitation and I added your feedback to the opened issue. If we manage to fix it we'll update this forum thread.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XML refactoring removes CDATA markup
Hi,
Sorry for the inconvenience but we have not yet found a way to make this work. If we do manage to do that we'll update this forum thread.
Regards,
Radu
Sorry for the inconvenience but we have not yet found a way to make this work. If we do manage to do that we'll update this forum thread.
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)
- ↳ 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