[Mono-devel-list] ASP.NET and Mono Project
João GIlberto Magalhães
joao at byjg.com.br
Thu Apr 24 15:04:57 EDT 2003
I develop an OpenSource project called XMLNuke. This project is a XML
content management and I develop the CSHARP version.
The compilation of my project it´s OK in Linux. I use XSP web server to run
ASP.NET Web Pages. The ASP.NET pages call my classes at event Page_Load. All
functions works fine, but when I run any XML/XSL transformation I get the
follow error:
Error in '/' Application
Description: Error processing request.
Error Message:
Stack Trace: System.Xml.XmlException: Error parsing stylesheet
in <0x00070> 00 System.Xml.Xsl.XslTransform:GetStylesheetFromString (string)
in <0x00109> 00 System.Xml.Xsl.XslTransform:Load (System.Xml.XmlReader)
in <0x001ef> 00 com.xmlnuke.engine.XmlNukeEngine:TransformDocument
(System.Xml.XmlDocument)
in <0x0018c> 00 com.xmlnuke.engine.XmlNukeEngine:TransformDocument ()
in <0x0007f> 00 ASP.xmlnuke_aspx:Page_Load (object,System.EventArgs)
in <0x0007d> 01 System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
in <0x00094> 00 System.Web.UI.Control:OnLoad (System.EventArgs)
in <0x00031> 00 System.Web.UI.Control:LoadRecursive ()
in <0x000ed> 00 System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in <0x001b6> 00 .ExecuteHandlerState:Execute ()
in <0x0005e> 00 .StateMachine:ExecuteState (IStateHandler,bool&)
The code where the error occured is:
#if LINUX
Uri dummyUri = new Uri(xslFile.FullQualifiedNameAndPath()); // Linux Syntax
System.Uri uri = snippetProcessor.ResolveUri(dummyUri,
xslFile.FullQualifiedNameAndPath());
#else
....
SnippetProcessor inherits from XmlUrlResolver.
I have installed:
Conectiva 8.0 (RedHat 7.1 compatible)
Mono 0.23
libxml2.so 2.5.4-1
libxslt.so 1.0.27
Thanks in advanced
João Gilberto Magalhaes
http://www.xmlnuke.com
More information about the Mono-devel-list
mailing list