-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

So close now to getting this CMS working under Mono...in fact, a sample web 
page has displayed just once, every other time however it times out. i may 
take a photo of that successful run just to remind myself it worked :-)

My current problem is this. Within the program there is a section that loads 
an XSL files and uses it to transform some XML into XHTML. This code works 
perfectly from the sample.exe program I am using to test things. When I try 
and use the same code in an ASPX page in the Page_Load event it fails - the 
code never returns from the GetEntity call in XmlUrlResolver.cs. I cut that 
section of code out and dropped it into a test app (see code below).

using System.Net;
using System.IO;
Console.WriteLine ("Getting test file");
Stream s = null;
using (s) {
        WebClient wc = new WebClient ();
        s = wc.OpenRead ("file:///home/ivan/christinahawkes/StyleSheets/news.xsl");

        wc.Dispose ();
}
Console.WriteLine ("Got test file");

This worked just fine from the test application (.exe). I then cut this into 
an ASPX file and it failed to return a result.

Is there something different about using it from ASPX? Are these routines not 
initialised properly at the Page_Load event stage? I'd be grateful if some 
other people could try it out and see if it is a bug.

NOTE: The code is being used from a compile .dll library that is shared with 
both the test app and the ASPX...it's a weird bug.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iQIVAwUBPwdmVvr1e7bH1pzBAQJwwg//WK5kUxVPifwFsqzmSzx543OyAGeLX2rP
yq8kU0lucS6hs+x3v7uL9qLdaJxGCqiloEhjsCzzchRyeJd2k5kCYHolSMUZQhAN
Di0tRHlAOzXqC2wu5OKPN6/VkuOIQBX/70dDqqUUi3fMIqZiEtnQGF8w9deASkUn
GAH2z9YOMOrL+LJQxvDmouCyVfrt0FqDzrDzpUwy7YbEFX3hoI0iWOxdronHWPjQ
tcMftv0FPiHrEyFReDdJdnQprkLjfnPn+bCj50TRDfUOsNrETlzdPwoZmxLGqffo
sEK5ulQitFxgObI5EfR/wvY8iqwxp25Ykb5wkDhPQSu3lx4LBROmL8Bzn7pxBH80
mD/hjrwqtUtnoALtlMh5D7vLxJhd5CMTh5mq2oMEQhmO6mJfeRiQs3cjp2xD0yhn
A2GQN2hux93rGdRMzyKBRzHFqoezn5d2LuIFZHfMGzyuHY/T+aLf23+kdk1Ly6xy
IJwmJXCb6e88DEjzSSQMgofZb2n+WmKJsamQ8wQVMo+X2ShyE4UkN8oxpzA32kzd
uZN0v1AZIJLwdk87pbkQVF7gs4LR8kHX2hGe456GPoxjpQeBzgBi//LjRBljGEYD
Vt15qDyq+SY6ohCLyb34o9fbl6cAtDTlhaEyrRBlNi8hlX6a8eHgx/VK5pSFfDvN
5EBJeh1KpmI=
=X2nV
-----END PGP SIGNATURE-----
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to