Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 8th, 2004, 02:13 PM
Registered User
 
Join Date: Apr 2004
Location: Cary, NC, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using VB.NET and XML offline

Hello,
I'm having trouble reading in an XML file while my machine is offline.
I suspect it is trying to get a schema or something of that ilk from the net. It is throwing an exception when I try to load the XML file. Can I use XmlDocument without being on the Internet? If so, what do I need to do?

Thanks,

Bruce Hamilton - MCAD.NET



Reply With Quote
  #2 (permalink)  
Old April 9th, 2004, 09:26 AM
Registered User
 
Join Date: Apr 2004
Location: Cary, NC, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found the problem. The XML had an external reference to a DTD that was on the Internet. This was in the second line of the XML file,
<!DOCTYPE ...> with a reference to a URL on the Internet. When this line is commented out, the XML is not checked against the DTD file, but the program works the same with or without Internet connection.

Bruce Hamilton -MCAD.NET

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VB.net, adding XML data to an existing XML file saikoboarder XML 11 April 17th, 2008 04:19 PM
Parse XML doc using VB.NET into ASP.NET page kwilliams Classic ASP XML 17 November 11th, 2005 10:42 AM
xml in vb.net redeye2 Pro VB.NET 2002/2003 1 November 10th, 2004 06:48 PM
XML to XML through an XSLT (VB.NET) dimondwoof XSLT 1 June 25th, 2003 12:07 PM
XML to String in VB.NET dimondwoof XML 1 June 24th, 2003 10:40 PM



All times are GMT -4. The time now is 09:14 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.