Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=81382 --- shadow/81382 2007-04-16 01:31:13.000000000 -0400 +++ shadow/81382.tmp.19004 2007-04-16 02:58:29.000000000 -0400 @@ -3,15 +3,15 @@ Version: 1.2 OS: All OS Details: Status: NEW Resolution: Severity: Unknown -Priority: Normal -Component: Sys.XML -AssignedTo: [EMAIL PROTECTED] +Priority: Minor +Component: System +AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- URL: Cc: Summary: file: url unable to handle relative paths @@ -60,6 +60,33 @@ How often does this happen? 100% ------- Additional Comments From [EMAIL PROTECTED] 2007-04-16 01:31 ------- Possibly related to Bug#80964? + +------- Additional Comments From [EMAIL PROTECTED] 2007-04-16 02:58 ------- +This is rather a Uri issue. However I rather think there is an +inconsistent design issue in .NET. For example the following code, +when any of commented lines are enabled, causes UriFormatException: + +-------- +using System; + +public class Test +{ + public static void Main () + { + Console.WriteLine (new Uri (new Uri +("file://c:/localhost/bar"), "file:./ext")); + Console.WriteLine (new Uri ("http://localhost/bar")); + Console.WriteLine (new Uri (new Uri +("http://localhost/bar"), "file://c:/ext")); + //Console.WriteLine (new Uri (new Uri +("http://localhost/bar"), "file:./ext")); + //Console.WriteLine (new Uri ("file:./ext")); + } +} + +Now I wonder if I should support such broken DTD which contains +relative path with file URI and thus won't work outside local file +system. When Uri issue is sorted out then it will be sorted out in sync. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
