Database Import escaping characters
Oxygen general issues.
-
- Posts: 3
- Joined: Tue Dec 28, 2010 11:18 pm
Database Import escaping characters
I am importing a CLOB column containing XML from an Oracle 11 database. All < > and " characters within the CLOB are coming in as escaped.
E.g.
<ReqStatus tc="1">PENDING</ReqStatus>
in the database column is coming into the editor as:
<ReqStatus tc="1">PENDING</ReqStatus>
Anyone know how I can change this behaviour to keep the original characters?
Thanks,
Adrian.
E.g.
<ReqStatus tc="1">PENDING</ReqStatus>
in the database column is coming into the editor as:
<ReqStatus tc="1">PENDING</ReqStatus>
Anyone know how I can change this behaviour to keep the original characters?
Thanks,
Adrian.
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Database Import escaping characters
Dear Adrian,
All data in a table cell is considered to be text data and thus characters which are considered illegal in an XML element are escaped.
I will add an improvement request and see if we can at least add the option for users to specify that they want the data in a certain column to be literally added to the imported XML, without any escaping.
What you can do for now is that after the XML import file is produced to select all its content in the Text page, right click, choose Source->Unescape selection and unescape back all entities.
Regards,
Radu
All data in a table cell is considered to be text data and thus characters which are considered illegal in an XML element are escaped.
I will add an improvement request and see if we can at least add the option for users to specify that they want the data in a certain column to be literally added to the imported XML, without any escaping.
What you can do for now is that after the XML import file is produced to select all its content in the Text page, right click, choose Source->Unescape selection and unescape back all entities.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Tue Dec 28, 2010 11:18 pm
Re: Database Import escaping characters
Radu,
Thanks for the explanation. I think that would be a good improvement, at least for me. Unfortunately, someone thought it a good idea to store their XML in CLOBS. Not really the best idea for highly structured data.
Thanks,
Adrian.
Thanks for the explanation. I think that would be a good improvement, at least for me. Unfortunately, someone thought it a good idea to store their XML in CLOBS. Not really the best idea for highly structured data.
Thanks,
Adrian.
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Database Import escaping characters
Hi,
In Oxygen 13 which will be available in a couple of days there will be a checkbox in the Oxygen preferences to disable escaping of XML content.
Regards,
Radu
In Oxygen 13 which will be available in a couple of days there will be a checkbox in the Oxygen preferences to disable escaping of XML content.
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