[Mono-bugs] [Bug 463634] New: HtmlTextWriter Mono / MS .NET inconsistency

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 5 13:11:43 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=463634


           Summary: HtmlTextWriter Mono / MS .NET inconsistency
           Product: Mono: Class Libraries
           Version: 2.0.x
          Platform: x86-64
        OS/Version: Windows Server 2008
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: sergey.hakobyan at gaiaware.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Consider calling Render() method for a control (e.g. CheckBox) using custom
HtmlTextWriter.
If the custom HtmlTextWriter overrides OnTagRender() method and returns false
for some tag, in Mono an exception will be thrown during RenderEndTag() call.
The exception occurs, because the tag stack will be accessed through TagKey
property, while the tag won't be pushed into the stack during RenderBeginTag().
This scenario works in MS .NET, because the tag is always pushed into the stack
during RenderBeginTag().


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


More information about the mono-bugs mailing list