XML Formatting Automatically

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
JefferyD
Posts: 177
Joined: August 31st, 2021, 11:37 am
Contact:

XML Formatting Automatically

Unread post by JefferyD »

Some XML in a CreateServiceNode service.
XML_Manual_Format.PNG
XML_Manual_Format.PNG (52.66 KiB) Viewed 775 times
XML_Manual_Format.PNG
XML_Manual_Format.PNG (52.66 KiB) Viewed 775 times
When viewing the XML preview of a parent node of that service and going back to edit the XML seems to retain the auto formatting from the preview.
XML_Preview_Format.PNG
XML_Preview_Format.PNG (68.41 KiB) Viewed 775 times
XML_Preview_Format.PNG
XML_Preview_Format.PNG (68.41 KiB) Viewed 775 times
XML_Auto_Format.PNG
XML_Auto_Format.PNG (55.01 KiB) Viewed 775 times
XML_Auto_Format.PNG
XML_Auto_Format.PNG (55.01 KiB) Viewed 775 times
This doesn't affect runtime initially, but any change will make the formatting persistent and potentially add unwanted whitespace to any nodes with mixed content (See PartListHTMLID in example screenshots).
word count: 124

Tags:
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

Re: XML Formatting Automatically

Unread post by CathyC »

I also noticed when this happens, ctrl z for undo doesnt undo the formatting change
word count: 15
steve.sakhnini
Posts: 40
Joined: February 9th, 2022, 12:03 pm
Contact:

Re: XML Formatting Automatically

Unread post by steve.sakhnini »

a task (#10100) has been created to address this.
I will update the post once it is resolved.
word count: 18
JustinVanRegenmorter
Posts: 529
Joined: August 26th, 2021, 9:56 am
Contact:

Re: XML Formatting Automatically

Unread post by JustinVanRegenmorter »

This has been fixed as of DesignTime revision 2154.
word count: 9
Post Reply