[Mono-bugs] [Bug 74203][Wis] New - Web configuration file cannot have combined data and tags

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 29 Mar 2005 16:52:38 -0500 (EST)

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 eto@shaw.ca.


--- shadow/74203	2005-03-29 16:52:38.000000000 -0500
+++ shadow/74203.tmp.12627	2005-03-29 16:52:38.000000000 -0500
@@ -0,0 +1,73 @@
+Bug#: 74203
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: eto@shaw.ca               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Web configuration file cannot have combined data and tags
+Description of Problem:
+When the web configuration includes a tag that combines both data and 
+child tags, the xml parsing of that file fails. 
+If I remove the child tags or the data from the <browserCaps><case> tag
+(S), then everything is fine.  This config file works as-is with ms.net.
+Steps to reproduce the problem:
+1. Use the (attached) Web.config file for a web project
+2. Run the application using xsp
+Actual Results:
+Throws a system exception:
+System.Runtime.Remoting.RemotingException: Configuration 
+file '/home/cwensley/syd/core/source/Syd.Web/Web.config' could not be 
+loaded: No end tag
+in <0x000e5> System.Runtime.Remoting.RemotingConfiguration:ReadConfigFile 
+(System.String filename)
+in <0x0004e> System.Runtime.Remoting.RemotingConfiguration:Configure 
+(System.String filename)
+in <0x002b4> 
+(System.String filepath, System.Web.HttpContext context)
+in <0x00046> System.Web.Configuration.WebDefaultConfig:GetConfig 
+(System.String sectionName, System.Web.HttpContext context)
+in <0x00025> System.Web.Configuration.WebDefaultConfig:GetConfig 
+(System.String sectionName)
+in <0x00014> System.Web.Configuration.WebConfigurationSettings:GetConfig 
+(System.String sectionName)
+in <0x0000a> System.Web.HttpContext:GetAppConfig (System.String name)
+in <0x0002b> System.Web.TraceManager:.ctor ()
+in <0x0003f> System.Web.HttpRuntime:OnFirstRequestStart 
+(System.Web.HttpContext context)
+Console output from xsp:
+Exception rethrown at [0]:
+in (wrapper xdomain-invoke) Mono.ASPNET.XSPApplicationHost:ProcessRequest 
+in (wrapper remoting-invoke-with-check) 
+in <0x0047b> Mono.ASPNET.XSPWorker:Run (System.Object state)
+Expected Results:
+Parses the file with no problems
+How often does this happen? 
+Every time
+Additional Information:
+This may be a problem with the xml engine rather than with Sys.Web, but 
+I'm not too familiar with the code.