Bug 121550 - XHTML parsing: missing close tag not detected
Summary: XHTML parsing: missing close tag not detected
Status: RESOLVED DUPLICATE of bug 52665
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 18:29 UTC by Frans Englich
Modified: 2006-02-07 19:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Test case (218 bytes, application/xhtml+xml)
2006-02-07 18:30 UTC, Frans Englich
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***