Use System.Xml.XmlDocument.Load rather than Get-Content to avoid (#49206)

encoding errors when writing out XML

removing executable bit

refactor tests to handle sanity checking
This commit is contained in:
Richard Levenberg
2018-12-04 07:19:38 -08:00
committed by jhawkesworth
parent 9d62cbc2af
commit 5cb39d0d57
4 changed files with 62 additions and 8 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- win_xml - use New-Object System.Xml.XmlDocument rather than Get-Content for parsing xml (https://github.com/ansible/ansible/issues/48471)