Prevent DTD download when parsing XML

前端 未结 5 821
北恋
北恋 2020-12-09 01:44

When using XmlDocument.Load , I am finding that if the document refers to a DTD, a connection is made to the provided URI. Is there any way to prevent this from happening?

5条回答
提交回复
热议问题