title: XmlDocument loading from file with non latin file path
body: <p>I have instantiated XmlDocument and than trying to load XML file with non Latin symbols in the file pat. During loading the file I am facing with the </p>
  
  <pre><code> ArgumentNullException 
  </code></pre>
  
  <p>with message: </p>
  
  <pre><code>"Value cannot be null. Parameter name: str"
  </code></pre>
  
  <p>Stack Trace is - </p>
  
  <pre><code>at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] str)
  at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
  at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path)
  at System.Uri.ParseConfigFile(String file, IdnScopeFromConfig&amp; idnStateConfig, IriParsingFromConfig&amp; iriParsingConfig)
  at System.Uri.GetConfig(UriIdnScope&amp; idnScope, Boolean&amp; iriParsing)
  at System.Uri.InitializeUriConfig()
  at System.Uri.InitializeUri(ParsingError err, UriKind uriKind, UriFormatException&amp; e)
  at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
  at System.Uri..ctor(String uriString, UriKind uriKind)
  at System.Xml.XmlResolver.ResolveUri(Uri baseUri, String relativeUri)
  at System.Xml.XmlUrlResolver.ResolveUri(Uri baseUri, String relativeUri)
  at System.Xml.XmlTextReaderImpl..ctor(String url, XmlNameTable nt)
  at System.Xml.XmlTextReader..ctor(String url, XmlNameTable nt)
  at System.Xml.XmlDocument.Load(String filename)
  at .... 
  </code></pre>
  
  <p>There is a part of my code:</p>
  
  <pre><code>var xmlData = new XmlDocument();
  if (File.Exists(xmlPath))
  {        
      xmlData.Load(xmlPath);
      ...
  }
  </code></pre>
  
  <p>xmlPath contain French letters.</p>
  
  <p>What is wrong?
  How I can open xml file with non latin characters?</p>