[Mono-bugs] [Bug 81034][Nor] New - AspParser / AspTokenizer error

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Mar 4 12:43:12 EST 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.


--- shadow/81034	2007-03-04 12:43:11.000000000 -0500
+++ shadow/81034.tmp.6911	2007-03-04 12:43:12.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 81034
+Product: Mono: Class Libraries
+Version: 1.2
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com                            
+ReportedBy: mmorano at mikeandwan.us               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: AspParser / AspTokenizer error
+Description of Problem:
+A control in a working application I am porting from MS to mono has a
+control that dynamically builds the inner attributes for a <script> tag. 
+Admittedly, there are better ways to do this, but it does work under MS,
+but not under mono.  The problematic code is something that looks like this
+in the ascx:
+<script <asp:Literal ID="languageLiteral" runat="server"
+EnableViewState="false" /> <asp:Literal ID="srcLiteral" runat="server"
+EnableViewState="false" /> <asp:Literal ID="typeLiteral" runat="server"
+EnableViewState="false" />></script>
+Then the codebehind merely sets these properties.
+Steps to reproduce the problem:
+1. Create a page that includes the above control declarations.
+2. Access the page
+3. Mono gives ParserException - put_back called twice
+Actual Results:
+Mono shows line error occured on, and that put_back was called twice.
+Expected Results:
+Proper <script> tag would be populated
+How often does this happen? 

More information about the mono-bugs mailing list