Page 1 of 1

Not escaped characters in XML view

Posted: Thu Mar 04, 2021 12:37 pm
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

Re: Not escaped characters in XML view

Posted: Thu Mar 04, 2021 2:10 pm
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