[Mono-bugs] [Bug 53400][Wis] New - embedded asp.net tags don't work

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 27 Jan 2004 08:39:47 -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 linux.mono@christopherholst.com.

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

--- shadow/53400	2004-01-27 08:39:47.000000000 -0500
+++ shadow/53400.tmp.23556	2004-01-27 08:39:47.000000000 -0500
@@ -0,0 +1,59 @@
+Bug#: 53400
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: linux.mono@christopherholst.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: embedded asp.net tags don't work
+
+Description of Problem:
+Embedded asp.net tags like e.g. 
+<table <%= (sc.IE5 ? "class=table" : "") %>>
+don't work. This code has been taken from a MS ASP.NET implementation 
+where the same code works. The error message I get is "expecting '>'. 
+Got '<'".
+However, if the above code is changed to: 
+<table class='<%= (sc.IE5 ? "table" : "") %>'> it works. 
+
+Steps to reproduce the problem:
+1. Copy the aspx-code on the bottom of this page to a file.
+2. Open the file & look at the errormessage. 
+
+Actual Results:
+Error message: "expecting '>'. Got '<'"
+
+Expected Results:
+code is rendered normally, page displays. 
+
+How often does this happen? 
+always
+
+Additional Information:
+Sample.aspx: 
+
+<%@ Page language="c#" %>
+<html>
+<script runat="server">
+	bool IE5 = false; 
+</script>
+
+<body >
+<form runat=server >
+	<!--this works-->
+	<table class='<%= (IE5 ? "table" : "") %>'>
+	<!-- this doesn't -->
+	<table <%= (IE5 ? "class=table" : "") %>>
+	</table>
+</form>
+</body>
+</html>