[tahoe-lafs-trac-stream] [Tahoe-LAFS] #824: WUI pages lack correct XHTML 1.0 Transitional declarations
Tahoe-LAFS
trac at tahoe-lafs.org
Mon Feb 9 02:19:33 UTC 2015
#824: WUI pages lack correct XHTML 1.0 Transitional declarations
-----------------------------------+-----------------------
Reporter: davidsarah | Owner: daira
Type: defect | Status: assigned
Priority: normal | Milestone: 1.12.0
Component: code-frontend-web | Version: 1.5.0
Resolution: | Keywords: standards
Launchpad Bug: |
-----------------------------------+-----------------------
Changes (by daira):
* owner: => daira
* priority: major => normal
* status: new => assigned
* milestone: eventually => 1.12.0
Old description:
> Results of running the W3C online validator on the root directory of the
> testgrid:
>
> http://validator.w3.org/check?uri=http%3A%2F%2Ftestgrid.allmydata.org%3A3567%2Furi%2FURI%253ADIR2%253Adjrdkfawoqihigoett4g6auz6a%253Ajx5mplfpwexnoqff7y5e4zjus4lidm76dcuarpct7cckorh2dpgq%2F&charset=%28detect+automatically%29&doctype=Inline&group=1
> &user-agent=W3C_Validator%2F1.654
>
> If I override the doctype to be "XHTML 1.0 Transitional", it fares much
> better:
>
> http://validator.w3.org/check?uri=http%3A%2F%2Ftestgrid.allmydata.org%3A3567%2Furi%2FURI%253ADIR2%253Adjrdkfawoqihigoett4g6auz6a%253Ajx5mplfpwexnoqff7y5e4zjus4lidm76dcuarpct7cckorh2dpgq%2F&charset=%28detect+automatically%29&doctype=XHTML+1.0+Transitional&group=1
> &user-agent=W3C_Validator%2F1.654
>
> So every XHTML document should start with
>
> {{{
> <!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="en" lang="en">
> }}}
>
> There is also a minor error on the Welcome page:
>
> http://validator.w3.org/check?uri=http%3A%2F%2Ftestgrid.allmydata.org%3A3567%2F&charset=%28detect+automatically%29&doctype=XHTML+1.0+Transitional&group=1
> &user-agent=W3C_Validator%2F1.654
>
> where I think the validator is wanting {{{id="mutable"}}} instead of, or
> in addition to {{{name="mutable"}}}.
New description:
Results of running the W3C online validator on the root directory of the
testgrid:
http://validator.w3.org/check?uri=http%3A%2F%2Ftestgrid.allmydata.org%3A3567%2Furi%2FURI%253ADIR2%253Adjrdkfawoqihigoett4g6auz6a%253Ajx5mplfpwexnoqff7y5e4zjus4lidm76dcuarpct7cckorh2dpgq%2F&charset=%28detect+automatically%29&doctype=Inline&group=1
&user-agent=W3C_Validator%2F1.654
If I override the doctype to be "XHTML 1.0 Transitional", it fares much
better:
http://validator.w3.org/check?uri=http%3A%2F%2Ftestgrid.allmydata.org%3A3567%2Furi%2FURI%253ADIR2%253Adjrdkfawoqihigoett4g6auz6a%253Ajx5mplfpwexnoqff7y5e4zjus4lidm76dcuarpct7cckorh2dpgq%2F&charset=%28detect+automatically%29&doctype=XHTML+1.0+Transitional&group=1
&user-agent=W3C_Validator%2F1.654
So every XHTML document should start with
{{{
<!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="en" lang="en">
}}}
There is also a minor error on the Welcome page:
http://validator.w3.org/check?uri=http%3A%2F%2Ftestgrid.allmydata.org%3A3567%2F&charset=%28detect+automatically%29&doctype=XHTML+1.0+Transitional&group=1
&user-agent=W3C_Validator%2F1.654
where I think the validator is wanting {{{id="mutable"}}} instead of, or
in addition to {{{name="mutable"}}}.
--
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/824#comment:5>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list