[Mono-bugs] [Bug 81382][Min] Changed - file: url unable to handle relative paths
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Apr 16 02:58:29 EDT 2007
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 atsushi at ximian.com.
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: atsushi at ximian.com
+Priority: Minor
+Component: System
+AssignedTo: mono-bugs at ximian.com
ReportedBy: lchin at erggroup.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
Summary: file: url unable to handle relative paths
@@ -60,6 +60,33 @@
How often does this happen?
100%
------- Additional Comments From lchin at erggroup.com 2007-04-16 01:31 -------
Possibly related to Bug#80964?
+
+------- Additional Comments From atsushi at ximian.com 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.
More information about the mono-bugs
mailing list