XmlDocument, XmlResolver and www.w3.org

Posted by David Rutten on Stack Overflow See other posts from Stack Overflow or by David Rutten
Published on 2009-03-24T11:09:23Z Indexed on 2012/10/05 15:38 UTC
Read the original article Hit count: 176

Filed under:
|

One of my users had a single error while opening a file (I'm using standard xml 1.0):

The remote name could not be resolved: 'www.w3.org'

I found a post here in StackOverflow that deals with this and it suggest setting the XmlResolver property to null. I've tried this, and all my documents still seem to load fine. However, the last thing I want is to break the file-reading mechanism of my app, so is it actually safe to disable the resolver?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about xml-serialization