Not escaped characters in XML view

Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
Johann
Posts: 198
Joined: Wed Jun 17, 2015 12:46 pm

Not escaped characters in XML view

Post by Johann »

Hello,

I am using Author 22.1.0.0

When a user writes special characters such as "<", ">" or " " " in Author view, only "<" character is escaped in XML view and appears "&lt;".

How can the other characters be escaped too ?

Thanks for your help,

Johann
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Not escaped characters in XML view

Post by Radu »

Hi Johann,

The characters that are left unescaped are left as such because they do not break the validity of the XML document. The "<" character on the other side always needs to be escaped in order for the XML document to remain wellformed. There is no setting on our side to control this, basically when serializing we do the minimum possible number of changes to preserve the XML wellformed.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply