XML reformated after editing attributes in Author view

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

XML reformated after editing attributes in Author view

Post by Johann »

Hello,

I am using Author web 22.1.0.0.

When I edit an attribute value through the widget in Authoring view, it re-formats XML (break lines et new indents are visible when switching in XML view).

How can this behavior be avoided ?

I tried the option author.format.compatibility with the different values 0, 1 or 2 but I always get the same behaviour.
https://www.oxygenxml.com/doc/versions/ ... tions.html

Thanks for your help,

Johann
cristi_talau
Posts: 496
Joined: Thu Sep 04, 2014 4:22 pm

Re: XML reformated after editing attributes in Author view

Post by cristi_talau »

Hello,

Some things to watch for:
  • Server should be restarted after modifying the option
  • The "Do not indent, do not break lines" option is applied only to areas affected by the change. For example, siblings of the element whose attribute was changed remain with their original formatting. The element itself should be serialized on a single line.
If these two cases do not seem to explain the behavior you are seeing, please send us a sample document so that we can reproduce the problem ourselves. If you feel that it is more appropriate, you cand send it at https://www.oxygenxml.com/techSupport.html .

Best,
Cristian
Post Reply