index.html does not conform XHTML standard

Bug #2011287 reported by taoky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xubuntu-docs (Ubuntu)
New
Undecided
Unassigned

Bug Description

/usr/share/xubuntu-docs/index.html claims itself to be a valid XHTML file:

```
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
```

However, it has some tags not conforming XHTML standard and cannot be shown in some browsers like GNOME Web (epiphany-browser) with following error:

```
This page contains the following errors:

error on line 12 at column 8: Opening and ending tag mismatch: link line 11 and head
Below is a rendering of the page up to the first error.
```

Removing xmlns tag in <html> can fix this issue.

Ubuntu release: Ubuntu 22.04
Package version:
- xubuntu-docs 22.04
- epiphany-browser 42.4-0ubuntu1

Revision history for this message
Stephen Michael Kellat (skellat) wrote :

An initial look at https://validator.w3.org/check?uri=https%3A%2F%2Fxubuntu.github.io%2Fxubuntu-docs%2Fuser%2FC%2Findex.html&charset=%28detect+automatically%29&doctype=Inline&group=0&ss=1&outline=1&No200=1&verbose=1 may pin this on DocBook. We're possibly at the wrong point in cadence to be looking at upgrading the XSLT stylesheets we have for DocBook but that may alleviate this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.