Bug 77933 - XML parsing error on a valid (w3c validator) xhmtl 1.0 page
Summary: XML parsing error on a valid (w3c validator) xhmtl 1.0 page
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml parsing (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-18 18:20 UTC by Gregory Mounie
Modified: 2004-12-08 01:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregory Mounie 2004-03-18 18:20:53 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Debian testing/unstable Packages
OS:          Linux

The web page of http://www.imag.fr passes the xhtml1.0 validator of w3c

But konqueror only display

XML parsing error

fatal parsing error: the document is not in the correct file format in line 120, column 6
  <tr>
     ^

Headers:
<?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="fr" lang="fr">

Does the code assuming <th> in table ?

The page code around the line is:

<table style="width:100%;text-align:center;">
  <tr>    <------------------------------------------ the offending line
    <td rowspan="2"></td>
    <td style="width:120px"><a href="http://www.cnrs.fr"><img src="images/Logos-tutelles/CNRS-75x55.png" class="TutelleLogo" alt="CNRS"/></a></td>
    <td style="width:120px"><a href="http://www.inpg.fr"><img src="images/Logos-tutelles/INPG-75x55.png" class="TutelleLogo" alt="INPG"/></a></td>
    <td style="width:120px"><a href="http://www.ujf-grenoble.fr"><img src="images/Logos-tutelles/UJF-75x55.png" class="TutelleLogo" alt="UJF"/></a></td>
    <td rowspan="2"></td>
 </tr>
 <tr><td colspan="3"><p style="color:#666666;">&copy; IMAG - Domaine Universitaire - BP 53<br/>38041 Grenoble cedex 9</p></td></tr>
</table>
Comment 1 Stefano 2004-03-19 16:33:50 UTC
confirmed here: kde3.2.1 on gentoo linux, while working fine on any mozilla based browser
Comment 2 Jose Hernandez 2004-04-10 05:37:49 UTC
Set Konq to UTF-8 for a quick fix. Look at Bug 42683.
Comment 3 Tommi Tervo 2004-10-20 10:59:59 UTC
Works fine with khtml from CVS-head.
Comment 4 Allan Sandfeld 2004-12-08 01:49:12 UTC
Also here