[Mono-bugs] [Bug 82702][Wis] New - XML reader doesn't accept windows-paths on Linux
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Sep 5 03:41:10 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 steven at vaningelgem.be.
http://bugzilla.ximian.com/show_bug.cgi?id=82702
--- shadow/82702 2007-09-05 03:41:09.000000000 -0400
+++ shadow/82702.tmp.11011 2007-09-05 03:41:09.000000000 -0400
@@ -0,0 +1,29 @@
+Bug#: 82702
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details: Ubuntu 7.10
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com
+ReportedBy: steven at vaningelgem.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: XML reader doesn't accept windows-paths on Linux
+
+Code:
+String path = Path.GetDirectoryName(Request.PhysicalPath);
+XmlTextReader MyReader = new XmlTextReader( path + "/searchXML/
+example.xml");
+
+This creates a new XML reader... Now one would expect to be using "\\" as
+a path seperator as it's .NET (windows), but on Linux you have to use "/",
+which makes your applications non-portable from Unix to Windows.
+
+
+Greetings
More information about the mono-bugs
mailing list