[Mono-bugs] [Bug 568631] New: aspx/ascx files can not be compiled when an asp:Literal-tag is embedded in another tags attribute

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 6 12:00:15 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=568631

http://bugzilla.novell.com/show_bug.cgi?id=568631#c0


           Summary: aspx/ascx files can not be compiled when an
                    asp:Literal-tag is embedded in another tags attribute
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: i686
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: sven.dummis at t-online.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=335201)
 --> (http://bugzilla.novell.com/attachment.cgi?id=335201)
a test-case

Description of Problem:
IF you embed a asp:Literal-tag in another tags attribute mono fails to compile
the aspx/ascx-file. With .net this works fine.

Steps to reproduce the problem:
1. see attached test-case
2. 


Actual Results:

Mono fails with:

Server Error in '/' Application
Parser Error

Description: Error parsing a resource required to service this request. Review
your source file and modify it to fix this error.

Parser Error Message: The server tag is not well formed.

Source Error:

Line 9:     <form id="form1" runat="server">
Line 10:     <div>
Line 11:         <img alt='<asp:Literal ID="Literal2" runat="server"
text="<%$Resources:Resource1, TestString  %>"/>'
src="../images/gsp_ftr_logo_170x46.png" />
Line 12:             
Line 13:     </div>


Expected Results:
compile the aspx/ascx file

How often does this happen? 
everytime

Additional Information:
Version information:  Mono Runtime Version: 2.6.1 (tarball Thu Dec 17 17:24:22
UTC 2009); ASP.NET Version: 2.0.50727.1433

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list