dotnet/msbuild

XmlPoke Should Use DtdProcessing.Prohibit

Open

#5,817 opened on Oct 21, 2020

View on GitHub
 (7 comments) (0 reactions) (1 assignee)C# (5,062 stars) (1,364 forks)batch import
Good First Issuebugtriaged

Description

See https://github.com/dotnet/msbuild/issues/5810 for a bit of context.

There's an inconsistency with XmlPoke and XslTransformation. The docs on XmlReaderSettings.DtdProcessing state that the default value is Prohibit, which neither XmlPoke or XslTransformation` follow.

Contributor guide