470,856 Members | 2,317 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,856 developers. It's quick & easy.

LoadXML problem in framework 4.6.1

I have a problem in the following code abstract, which worked successfully in framework 4.0.
Expand|Select|Wrap|Line Numbers
  1.                 Using WC As New System.Net.WebClient()
  2.                         Dim Doc As String = WC.DownloadString(GwcUrl)
  4.                         Dim xmlDoc As New XmlDocument()
  5.                         xmlDoc.LoadXml(Doc)
  7.                     End Using
In the framework 4.6.1 I receive the error message
"Error loading from 'xxx' xlink is undeclared prefix"

Here 'xxx' is the internet address of schema where xlink is declared.

Please help...
May 12 '21 #1
1 3668
9,065 Expert Mod 8TB
This is likely to do with the contents of the document you are downloading, however you could try as an interim solution downloading the document manual and then loading the downloaded document in your program from the local disk.
May 18 '21 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Rodger McNab | last post: by
4 posts views Thread by Tim Haughton | last post: by
6 posts views Thread by jmgonet | last post: by
reply views Thread by Reshma Prabhu | last post: by
2 posts views Thread by Lupina | last post: by
2 posts views Thread by binder | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.