[Monodevelop-patches-list] r644 - trunk/MonoDevelop/src/Main/Base/Gui/Workbench

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sat Jan 24 23:39:05 EST 2004


Author: benm
Date: 2004-01-24 23:39:05 -0500 (Sat, 24 Jan 2004)
New Revision: 644

Modified:
   trunk/MonoDevelop/src/Main/Base/Gui/Workbench/DefaultWorkbench.cs
Log:
workaround for problems with pound signs in URIs

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Workbench/DefaultWorkbench.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Workbench/DefaultWorkbench.cs	2004-01-25 03:43:01 UTC (rev 643)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Workbench/DefaultWorkbench.cs	2004-01-25 04:39:05 UTC (rev 644)
@@ -304,7 +304,7 @@
 				if (fileUtilityService.IsValidFileName(fullFileName) && File.Exists(fullFileName)) {
 					IXmlConvertable prototype = ((IMementoCapable)content).CreateMemento();
 					XmlDocument doc = new XmlDocument();
-					doc.Load(fullFileName);
+					doc.Load (File.OpenRead (fullFileName));
 					
 					return (IXmlConvertable)prototype.FromXmlElement((XmlElement)doc.DocumentElement.ChildNodes[0]);
 				}




More information about the Monodevelop-patches-list mailing list