[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
Wed, 11 Feb 2004 16:22:26 -0500 (EST)


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 chris@turchin.net.

http://bugzilla.ximian.com/show_bug.cgi?id=47691

--- shadow/47691	2004-01-06 02:01:59.000000000 -0500
+++ shadow/47691.tmp.26618	2004-02-11 16:22:26.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 47691
 Product: Mono/Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: chris@turchin.net               
 QAContact: mono-bugs@ximian.com
@@ -106,6 +106,41 @@
 Created an attachment (id=5186)
 A patch candidate to fix that problem.
 
 
 ------- Additional Comments From ginga@kit.hi-ho.ne.jp  2004-01-06 02:01 -------
 This looks fixed in latest Path and Uri fixes. Thanks.
+
+------- Additional Comments From chris@turchin.net  2004-02-11 16:22 -------
+my test on 2004-02-11 show this still to be an issue. i am using utf-8
+on the console in case this makes a difference. the directory in the
+path exception below is "c#" but it gets truncated to "c", cropping
+off everything after the "#" symbol. 
+
+having read up on the URI RFC it seems to me that the '#' really is
+not valid, however, MS 1.1 supports it in folder names, so we should
+think about doing so as well. 
+
+here is the results of my test:
+
+[root@arcteryx c#]# mono transform.exe transform.xml transform.xsl
+ 
+Unhandled Exception: System.IO.FileNotFoundException: Could not find
+file "/home/chris/Documents/dev/test/c"
+in <0x002ef> System.IO.FileStream:.ctor
+(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool)
+in <0x00043> System.IO.FileStream:.ctor
+(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
+in <0x00081> (wrapper remoting-invoke-with-check)
+System.IO.FileStream:.ctor
+(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
+in <0x00153> System.Xml.XmlUrlResolver:GetEntity
+(System.Uri,string,System.Type)
+in <0x00119> System.Xml.XmlTextReader:.ctor
+(string,System.Xml.XmlNameTable)
+in <0x00039> System.Xml.XmlTextReader:.ctor (string)
+in <0x00038> System.Xml.XPath.XPathDocument:.ctor
+(string,System.Xml.XmlSpace)
+in <0x00012> System.Xml.XPath.XPathDocument:.ctor (string)
+in <0x00043> .XmlTransformUtil:Transform (string,string,string)
+in <0x00080> .XmlTransformUtil:Main (string[])
+