Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 3.5 and Visual Studio. 2008 > .NET Framework 3.5
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.NET Framework 3.5 For discussion of the Microsoft .NET Framework 3.5.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 3.5 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 May 5th, 2008, 09:49 AM
Registered User
 
Join Date: May 2008
Location: Exeter, , United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unexpected end of file while parsing PI...

Haya all :)

Im trying to make a asp script that gets an xml feed from http://eu.wowarmory.com/guild-info.x...etribution&p=1

however i keep on getting an error "Unexpected end of file while parsing PI has occurred. Line 2209, position 1". I looked around and found out that this is because that blizzard servers detects the user agent calling there site determines if the useragent can support the XMLDom. If it does then they send the XML to the browser untransformed. If not then they send the transformed XML as HTML. I tryed some ways around fixing this prob using HttpRequest but in VWD 2008 HttpRequest dosent seem to be supported? All the coding that i found using HttpRequest and HttpWebRaquest did'nt work, any suggestions using .net 3.5? Im scripting in VB.

Thanks for any help offered :)

Reply With Quote
  #2 (permalink)  
Old June 20th, 2008, 01:46 AM
Registered User
 
Join Date: Jun 2008
Location: chennai, , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please check the xml is well-formed or not.

Reply With Quote
  #3 (permalink)  
Old June 20th, 2008, 04:18 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

HttpWebRequest is a part of the standard .Net framework - I don't believe that you can't use it in Visual Web Developer (I assume this is the express edition).

When you say the code 'didn't work' then what was the problem?

/- Sam Judson : Wrox Technical Editor -/
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
Help Parsing XML File Sojan80 XML 7 January 7th, 2008 06:09 PM
Unexpected end of file while parsing... anup_daware C# 1 February 7th, 2007 05:14 AM
Parse error: parse error, unexpected $end Ayodeji Adegbaju Pro PHP 3 January 12th, 2007 12:21 PM
unexpected end of file Spivonious Visual C++ 2 September 21st, 2004 07:44 AM
unexpected end of file question Spivonious C++ Programming 4 September 15th, 2004 02:24 AM



All times are GMT -4. The time now is 09:37 AM.


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