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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +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" %> _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
