[Mono-bugs] [Bug 51808][Blo] New - path is changed/corrupted when creating an XmlTextReader

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 6 Dec 2003 11:57:07 -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 jeroen@xs4all.nl.

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

--- shadow/51808	2003-12-06 11:57:07.000000000 -0500
+++ shadow/51808.tmp.30541	2003-12-06 11:57:07.000000000 -0500
@@ -0,0 +1,54 @@
+Bug#: 51808
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: fedora core 1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: Jeroen@xs4all.nl               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: path is changed/corrupted when creating an XmlTextReader
+
+Notice that the path name is correct, but as soon as i create an
+XmlTextReader with the full filename (FileInfo.FullName), it throws a
+FileNotFoundException which shows that something has added an extra /home
+directory.
+
+This is with GNOME 2.5 built with jhbuild a couple of days ago from CVS HEAD.
+
+56   DEBUG - Parsing /home/jeroen/built/lib/scaffold/plugins/browser.plugin
+file /home/jeroen/built/lib/scaffold/plugins/browser.plugin
+ 
+Unhandled Exception: System.IO.FileNotFoundException: Could not find file
+"/home/home/jeroen/built/lib/scaffold/plugins/browser.plugin"
+in <0x002fa> 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 <0x0014c> System.Xml.XmlUrlResolver:GetEntity
+(System.Uri,string,System.Type)in <0x00110>
+Mono.Xml.Native.XmlInputStream:.ctor
+(string,bool,System.Xml.XmlResolver,string)
+in <0x0008f> (wrapper remoting-invoke-with-check)
+Mono.Xml.Native.XmlInputStream:.ctor
+(string,bool,System.Xml.XmlResolver,string)
+in <0x00036> Mono.Xml.Native.XmlStreamReader:.ctor
+(string,bool,System.Xml.XmlResolver,string)
+in <0x00018> Mono.Xml.Native.XmlStreamReader:.ctor
+(string,System.Xml.XmlResolver,string)
+in <0x0007b> (wrapper remoting-invoke-with-check)
+Mono.Xml.Native.XmlStreamReader:.ctor (string,System.Xml.XmlResolver,string)
+in <0x0003b> System.Xml.XmlTextReader:.ctor (string,System.Xml.XmlNameTable)
+in <0x00039> System.Xml.XmlTextReader:.ctor (string)
+in <0x0004e> Scaffold.Scaffold:ParsePluginFile (string)
+in <0x005e4> Scaffold.Scaffold:Main (string[])