[Mono-list] Problem w/ System.Web.UI.WebControls.Xml

Arne Claassen mono@claassen.net
Sun, 8 Aug 2004 19:10:14 -0700

First post to this list. I develop in VS.NET on windows for my dayjob, 
but trying to use Mono on Fedora Core 1 for my personal projects.

I seem to have come across a bug in System.Web.UI.WebControls.Xml, but 
wanted to post here first to see if it's not a configuration issue.

I have an XML webcontrol in foo/bar.aspx named Xml1. I initialize as

Xml1.DocumentSource = "bar.xml";
Xml1.TransformSource = "bar.xsl";

referencing foo/bar.xml and foo/bar.xsl by relative URLs. This works 
fine under IIS where the control appears to use MapPath to determine 
the proper physical file path.

Using mono 1.0 with xsp and mod_mono under apache 1.3 on fedora core 1, 
i get an error that starts like this:
Server error in '/foo' application
Description: Error processing request.

Error Message: HTTP 500.

Stack Trace:

System.IO.FileNotFoundException: Could not find file "/bar.xml".

However if i call


I get a proper file path and i can read the file with a Stream Reader.