[Mono-bugs] [Bug 60323][Nor] New - Nested ASP.NET Server Controls Parse Incorrectly

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 17 Jun 2004 00:00:56 -0400 (EDT)


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 jhill@arcfocus.com.

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

--- shadow/60323	2004-06-17 00:00:56.000000000 -0400
+++ shadow/60323.tmp.3592	2004-06-17 00:00:56.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 60323
+Product: Mono: Class Libraries
+Version: unspecified
+OS: other
+OS Details: Fedora Core 1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jhill@arcfocus.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Nested ASP.NET Server Controls Parse Incorrectly
+
+Description of Problem:  In an ASPX file with a tag set to runat="server",
+the control will be evaluated to end at the first matching closing tag,
+even if it is the closing tag of a nested control of the same type.
+
+
+Steps to reproduce the problem:
+1. Create an aspx file such as this Test.aspx:
+<html>
+<head>
+</head>
+<body>
+    <form runat="server">
+        This should be the only text on this page.<br>
+        <span runat="server" id="outer" visible="false">
+           <span>First span that should not render</span>
+           <span>Second span that should not render</span>
+        </span>
+    </form>
+</body>
+</html>
+
+2.  View the page in xsp or mod_mono
+
+Actual Results:
+
+This should be the only text on this page.
+Second span that should not render
+
+Expected Results:
+
+This should be the only text on this page.
+
+How often does this happen? 
+Always
+
+Additional Information:
+Confirmed with other html controls (such as div).  Tested on Mono Beta 3,
+2, and 1.