[Mono-bugs] [Bug 354425] New: ASP.NET removes slash that closes the meta-tag. This prevents XHTML output from validating.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jan 17 09:21:07 EST 2008


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


           Summary: ASP.NET removes slash that closes the meta-tag. This
                    prevents XHTML output from validating.
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: roberto_binairo at orange.nl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:

ASP.NET removes the slash at the end of an <meta ........ /> statement. This
prevents the page from validating (validator.w3.org).

Steps to reproduce the problem:

1. Create an empty aspx form-page
2. Change Doctype and first html statement in:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

3. Add a correctly terminated <meta> statement in the <head>, ie:

    <meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />

Actual Results:

    <meta http-equiv="Content-type" content="text/html; charset=iso-8859-1">

Expected Results:

    <meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />

How often does this happen? 

Always, both with XSP2 and mod_mono

Additional Information:


-- 
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