Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
.net 4.0 では、ignore dtd のXmlReaderSettings.DtdProcessing値を持つプロパティを使用できます。.net 3.5 では、ignore-value なしDtdProcessing.Ignoreでのみ使用できます。XmlReaderSettings.ProhibitDtd.net 3.5でdtdの無視モードを有効にする方法は?
XmlReaderSettings.DtdProcessing
DtdProcessing.Ignore
XmlReaderSettings.ProhibitDtd
以下を試してください:
XmlReaderSettings.ProhibitDtd = false; XmlReaderSettings.XmlResolver = null; XmlDocument.XmlResolver = null;
私のために働く