This project is read-only.
1
Vote

Encoded XML malformed on transform

description

Hi,

After transforming with your tool, our web.configs are running into formatting issues with a few of our appSetting key values and a regex farther along.

Before transform:
value1="Product1<sup style="text-decoration: none;">®</sup>"
value2="Product2<sup style="text-decoration: none;">™</sup>"
^.*(?=.{8,})(?=.*\d)(?=.*[a-zA-Z])(?=.*[@#$%^*&"'<>!_=?:|,()-]).*$
After transform:
value1="Product1<sup style="text-decoration: none;">®</sup>"
value2="Product2<sup style="text-decoration: none;">™</sup>"
^.*(?=.{8,})(?=.*\d)(?=.*[a-zA-Z])(?=.*[@#$%^*&"'<>!_=?:|,()-]).*$____
I know that this issue stems from how the .NET framework reads and saves XML documents but are there any workarounds to preserve these?

comments