PowerShell v6.0.0-beta.7 xml save on Linux and MacOS X has an additional  in DOCTYPE
[xml]$XmlDoc = get-content 'Info.plist'
The two lines above work correctly in PowerShell 5.1 on Windows 10 but incorrectly with PowerShell v6 on Linux and MacOSX.
Notice the  just before the end in DOCTYPE.
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
Given that you’re dropping directly into the .NET methods here, this is likely a behavioral change in CoreFX. If you could file an issue at https://github.com/dotnet/corefx/issues, they might know more. If they’re insistent that this is happening in the PowerShell layer, please file an issue at https://github.com/powershell/powershell/issues
Unfortunately, .NET Core doesn't want to even look at it. See the following response.
Please ask the question on PowerShell repo. If there is underlying problem in .NET Core, please provide a repro without PowerShell for us to look at. Thanks!
Karel Zikmund Nov 17