[Mono-bugs] [Bug 42121][Wis] New - XmlDocument.BaseURI doesn't return full path

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 29 Apr 2003 21:50:22 -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 ianm@activestate.com.


--- shadow/42121	Tue Apr 29 21:50:22 2003
+++ shadow/42121.tmp.10125	Tue Apr 29 21:50:22 2003
@@ -0,0 +1,30 @@
+Bug#: 42121
+Product: Mono/Class Libraries
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: gentoo 1.4
+Status: NEW   
+Priority: Wishlist
+Component: System.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ianm@activestate.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: XmlDocument.BaseURI doesn't return full path
+Description of Problem:
+the string returned by XmlDocument.BaseURI appears to be the exact string
+passed into XmlDocument.Load. So
+Steps to reproduce the problem:
+1. given XmlDocument doc = new XmlDocument()
+doc.Load( "test.xml").BaseURI returns test.xml 
+doc.Load( "../../test.xml").BaseURI returns  ../../test.xml
+doc.Load( "/home/ianm/test/test.xml").BaseURI returns  /home/ianm/test/test.xml
+when all 3 should return file:///home/ianm/test/test.xml