[Mono-bugs] [Bug 67909][Nor] New - Parse error on HTML fragments that are not quoted properly

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 10 Oct 2004 05:40:40 -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 gert.driesen@pandora.be.

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

--- shadow/67909	2004-10-10 05:40:40.000000000 -0400
+++ shadow/67909.tmp.9322	2004-10-10 05:40:40.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 67909
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Parse error on HTML fragments that are not quoted properly
+
+In Mono, HTML fragments that are not properly quoted result in a parse 
+error.
+
+For example:
+
+The following HTML fragment :
+
+    <form id="Form1" method="post" runat="server">
+        <p>looks ok</p>
+        <table align="left cellpadding="0">
+        </table>
+     </form>
+
+(note: the quote for the "align" attribute is not closed properly)
+
+causes the following parse error in Mono :
+
+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 '>'. Got '0' 
+
+In MS ASP.NET, this works fine.
+
+I would not consider the Mono behavior bad for applications that are 
+under your control, as the quote should indeed be properly closed. But it 
+does prevent users/companies from taking an existing ASP.NET app and 
+running it on Mono (without making changes).
+
+Let me know if you want me to attach a repro, but I'm pretty sure its not 
+necessary for this particular "issue".