[Mono-devel-list] BaseURI not set in XMLDocument

Ian MacLean ianm at ActiveState.com
Thu Apr 24 21:38:42 EDT 2003


In the latest cvs the XMLDocument's BaseURI property is never set.

there was a change from version 1.56 to 1.57 where the following line 
was removed from the Load method

this.baseURI = xmlReader.BaseURI;

re adding it back will set the BaseURI property. Is there a reason this 
was removed. The cvs comment says :

Uri.Parse might not allow non-uri string.

When I add the line back and rebuild the BaseURI is returned as a raw 
file path for a local file ie c:\foo instead of file:///c:/foo as it is 
from the .Net XmlDocument implementation - maybe this is an issue.

Ian







More information about the Mono-devel-list mailing list