[Mono-bugs] [Bug 47691][Nor] Changed - XPathDocument (and other classes?) have problems when a folder name containing the xmldocument src contains the # character.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 21 Aug 2003 12:10:16 -0400 (EDT)

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 ginga@kit.hi-ho.ne.jp.


--- shadow/47691	2003-08-18 22:48:06.000000000 -0400
+++ shadow/47691.tmp.8920	2003-08-21 12:10:16.000000000 -0400
@@ -4,13 +4,13 @@
 OS: unknown
 OS Details: 
 Status: NEW   
 Severity: Unknown
 Priority: Normal
-Component: System.XML
+Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: chris@turchin.net               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -86,6 +86,18 @@
 ------- Additional Comments From ginga@kit.hi-ho.ne.jp  2003-08-18 22:48 -------
 I think it might be XmlUrlResolver bug. I uses new Uri (Uri, string) 
 in that class, and on using new Uri (Uri uri, string relativeUri), 
 relativeUri should contain uri fragment separated by '#'. Let me look 
 at it.
+------- Additional Comments From ginga@kit.hi-ho.ne.jp  2003-08-21 12:10 -------
+As to XmlUrlResolver, I've found the cause of the bug which was 
+reproduced with MS.NET and I've fixed it. But as to Mono's System.Uri 
+class, it still have its own bug related to this problem. Chris gave 
+me the test case for it:
+Uri uri = null;
+uri = new Uri (@"\\myserver\mydir\mysubdir\C#\myfile.ext");
+("#n4711", "/myserver/mydir/mysubdir/C#/myfile.ext", uri.LocalPath);