[Webkit-unassigned] [Bug 76273] New: Parsing of valid XHTML file fails on empty element tag

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 13 06:27:38 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=76273

           Summary: Parsing of valid XHTML file fails on empty element tag
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://www.kriro.de/bugfiles/xhtmlbug.html
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: roth at visualclick.de
                CC: roth at visualclick.de


The parsing of the following, valid XHTML 1.0 file fails to parse and hence fails to render at all due to the <title/> empty element tag (which seemingly is handled as if it was just an opening element tag):

--snip--
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
   <head>
      <title/>
   </head>
   <body><p>A</p></body>
</html>
--snip--

I'd expect this to display the letter "A" in the rendering.

W3C validation URL: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.kriro.de%2Fbugfiles%2Fxhtmlbug.html


Regression: There were releases of WebKit (assumedly the one used in Safari 5.0.5) where the parsing of the above file would succeed.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list