[Mono-bugs] [Bug 78643][Nor] Changed - MS.NET needs alternating quotes in server controls, mono does not

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 15 07:18:43 EDT 2006


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 juraj at hotfeet.ch.

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

--- shadow/78643	2006-06-14 08:04:01.000000000 -0400
+++ shadow/78643.tmp.1165	2006-06-15 07:18:43.000000000 -0400
@@ -1,10 +1,10 @@
 Bug#: 78643
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: FC5
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Sys.Web
@@ -26,6 +26,16 @@
 <asp:Literal text="<%# "Test" %>" runat="server" />
 
 ------- Additional Comments From juraj at hotfeet.ch  2006-06-14 08:04 -------
 Created an attachment (id=17181)
 test case ("quotes.aspx")
 
+
+------- Additional Comments From juraj at hotfeet.ch  2006-06-15 07:18 -------
+These two variations also result in parser errors:
+
+<asp:Literal text='<%# "Te\'st" %>' runat="server" />
+<asp:Literal text='<%# "Te''st" %>' runat="server" />
+
+MS's docs don't mention any way for escaping quotes within quotes. The
+test cases above seem to imply that MS.NET _never_ allows the quotes
+used for the attribute's value to be using inside this value.


More information about the mono-bugs mailing list