Not escaped characters in XML view

Posts: 109
Joined: Wed Jun 17, 2015 12:46 pm

Not escaped characters in XML view

Post by Johann » Thu Mar 04, 2021 12:37 pm


I am using Author

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,


Posts: 7540
Joined: Fri Jul 09, 2004 5:18 pm

Re: Not escaped characters in XML view

Post by Radu » Thu Mar 04, 2021 2:10 pm

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.

Radu Coravu
<oXygen/> XML Editor

Post Reply