bugDotGNU Portable.NET - Bugs: bug #11096, XmlTextReader no longer supports...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11096: XmlTextReader no longer supports file input

Submitted by:  Erich Kitzmüller <ammoq>
Submitted on:  Sun 21 Nov 2004 10:18:26 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 23 Nov 2004 03:15:58 PM UTC, comment #2:

Fixed in CVS 23rd Nov 2004

The proper fix was to use XmlUrlResolver .
FileWebRequest is anyway done and checked in .

Gopal.V <t3rmin4t0r>
Project Administrator
Mon 22 Nov 2004 06:10:49 AM UTC, comment #1:

We are indeed missing FileWebRequest

Can someone implement that ?

Gopal.V <t3rmin4t0r>
Project Administrator
Sun 21 Nov 2004 10:18:26 PM UTC, original submission:

The changes made to XmlTextReader (Version 1.59) break its ability to read file urls; neighter

XmlTextReader x = new XmlTextReader("hello.xml");

nor

XmlTextReader x = new XmlTextReader("file:hello.xml");

work anymore. This is caused by current limitations in System.Net.WebRequest, which only supports Http and Https.
Could be solved by eighter improving WebRequest or applying a workaround closer to my patch 3511 (i.e. explicitely checking the url prefix for "http:" or "https.")

Erich Kitzmüller <ammoq>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 23 Nov 2004 03:15:58 PM UTCt3rmin4t0rStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1