dotnet/msbuild

XmlPoke Should Use DtdProcessing.Prohibit

Open

#5,817 opened on Oct 21, 2020

View on GitHub
 (7 comments) (0 reactions) (2 assignees)C# (1,364 forks)batch import
Good First Issuebugtriaged

Repository metrics

Stars
 (5,062 stars)
PR merge metrics
 (Avg merge 11d 7h) (125 merged PRs in 30d)

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