Tree Editor removes DOCTYPE definition
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Wed Sep 14, 2005 12:03 pm
Tree Editor removes DOCTYPE definition
Hi,
I am just testing oxygen and have one problem. When I open a xml file with a DOCTYPE definition (Sun DTD Web Application 2.3 in this case) in Tree editor mode, the DTD is loaded and used correctly.
But when I save the document, the whole DOCTYPE tag is removed and the Document is saved without it. In the normal editor the DOCTYPE is saved correctly. This is very nasty, because I have to add the DOCTYPE each time I used the tree editor.
I am just testing oxygen and have one problem. When I open a xml file with a DOCTYPE definition (Sun DTD Web Application 2.3 in this case) in Tree editor mode, the DTD is loaded and used correctly.
But when I save the document, the whole DOCTYPE tag is removed and the Document is saved without it. In the normal editor the DOCTYPE is saved correctly. This is very nasty, because I have to add the DOCTYPE each time I used the tree editor.
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Hi
Thank you for reporting this bug.
Indeed the Tree Editor removes the DOCTYPE declaration when saving the tree back to XML format.
We fixed this and the fix will be soon available in the 6.2 release.
As a workaround you can go to Oxygen Options Menu -> Preferences -> Tree Editor and check the "Format and indent on save" option.
This will format and indent the document on save but will leave the DOCTYPE untouched.
Regards, Radu.
Thank you for reporting this bug.
Indeed the Tree Editor removes the DOCTYPE declaration when saving the tree back to XML format.
We fixed this and the fix will be soon available in the 6.2 release.
As a workaround you can go to Oxygen Options Menu -> Preferences -> Tree Editor and check the "Format and indent on save" option.
This will format and indent the document on save but will leave the DOCTYPE untouched.
Regards, Radu.
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