Jump to content
  • Advertisement
Sign in to follow this  
athono

[.net] Please tell me what this silverlight warning message means.

This topic is 2524 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Please tell me what this silverlight warning message means.

Warning 1 For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse
and pass the settings into XmlReader.Create method.

What do I do to fix this issue?


Share this post


Link to post
Share on other sites
Advertisement

Please tell me what this silverlight warning message means.

Warning 1 For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse
and pass the settings into XmlReader.Create method.

What do I do to fix this issue?





Exactly what it says:

1) create a XmlReaderSettings object if you havn't allready.
2) Set its DtdProcessing property to Parse
3) Pass the XmlReaderSettings object to the XmlReader.Create method when you create your xmlreader.

alternativly, don't use DTD processing.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!