[Mono-bugs] [Bug 81993][Nor] New - Bug in System.Web.UI.SimpleWebHandlerParser

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 2 23:39:27 EDT 2007


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 mmorano at mikeandwan.us.

http://bugzilla.ximian.com/show_bug.cgi?id=81993

--- shadow/81993	2007-07-02 23:39:26.000000000 -0400
+++ shadow/81993.tmp.26346	2007-07-02 23:39:26.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 81993
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com                            
+ReportedBy: mmorano at mikeandwan.us               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Bug in System.Web.UI.SimpleWebHandlerParser
+
+Description of Problem:
+
+When trying to create a webservice that has its declaration spread across 2
+lines in an asmx file, the parser is not able to correctly parse the file.
+ This looks like an error in SimpleWebHandlerParser.
+GetDirectivesAndContent because as soon as it finds the line starting with
+'<', it assumes that it also ends the declaration on this line (with %>). 
+
+If I put this on a single line, I get past this error
+Here is the output from trying to access the asmx:
+
+Server Error in '/' Application
+Parser Error
+
+Description: Error parsing a resource required to service this request.
+Review your source file and modify it to fix this error.
+
+Error message:
+
+expecting '%>'
+
+File name: /home/mmorano/code/src_www/services/blah.asmx
+
+    Line: 1
+Source Error:
+
+<%@ WebService Language="C#" 
+               Class="x.Blah" %>


More information about the mono-bugs mailing list