Bug 121550

Summary: XHTML parsing: missing close tag not detected
Product: [Applications] konqueror Reporter: Frans Englich <frans.englich>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Test case

Description Frans Englich 2006-02-07 18:29:07 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Compiled From Sources

When parsing XHTML(XML), KHTML accepts invalid XML. The following document must not render:

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


Will attach as file.


Cheers,

        Frans
Comment 1 Frans Englich 2006-02-07 18:30:01 UTC
Created attachment 14593 [details]
Test case
Comment 2 Frans Englich 2006-02-07 18:38:09 UTC
Also, forgot to mention:

Opera build 751 as well as Firefox 1.0 are conformant on this test case. 
Comment 3 Maksim Orlovich 2006-02-07 19:16:04 UTC

*** This bug has been marked as a duplicate of 52665 ***