Bug #14138
closedXHTML conformity
0%
Description
Hi!
As of 3.6.0, typo3 claims XHTML conformity. Thus I checkt with both my page and typo3.org on validator.w3.org
First of all, typo3.org: the document type is still set on html 4.0 trans, although the page uses XHTML syntax like
<link .../>
Overriding the doctype to XHTML 1.0 trans showed over 100 Errors... Mostly missing required attributes, obsolete attributes and missing SHORTTAG.
Now, on my page: I manually set the doctype in my template to xhtml_trans. First of all, all <a..> tags are capitalized (<A..>) - how can that be changed (because they're lowercase on typo3.org)? Then, also missing tags (e.g. alt for <img>) and missing SHORTTAG are the case.
I hope someone can look into this or point me to the right place.
regards
(issue imported from #M54)
Updated by Martin Kutschker over 20 years ago
With overriding doctype you mean setting config.doctype=xhtml_trans?
Try setting config.xhtml_cleaning. Reading the code there are three options: all, cached and output. depending on the value Typo3 does postprocess the generated page with Tidy. Anyway, the Core should not emit uppercase tags, but it could be that extensions do - even those which are distributed with 3.6 :-(
So I am not sure if the bug is valid as such. If there are issues then they should be filed as separate bugs.
Updated by old_diemer over 20 years ago
I see.
By overriding doctype I meant selecting a different doctype in the validator...
I found what causes the uppercase <A>s: the content (default) include of the template. When I include CSS styled content (extension) instead, the page seems xhtml conform, and even the mailform shows (which was the reason I didnt use CSS styled content with typo3 3.5.x).
I guess this solves my bug... The webmaster of typo3.org should be informed anyways that his pages are not yet xhtml compliant.
regards
Updated by Martin Kutschker over 20 years ago
Closing bug, but two things should happen:
documenting config.doctype
documenting correct way to achieve XHTML compliancy for 3.6
Updated by Martin Kutschker over 20 years ago
Reminder sent to kasper
It's probably already somewhere on your hard disk, but folks need an updated version of TSRef and some guidelines (a sepearte doc?) for XHTML.
I reckon TSRef is your job, but perhaps someone volunteers for an XHTML/XML primer for Typo3.
Kind regards,
Masi