Author: nickpj
Description:
When $wgUseTrackbacks = true in the LocalSettings.php, then the HTML for an
article view will contain this in the header area:
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<rdf:Description
rdf:about="http://192.168.0.64/wiki/index.php/Main_Page" dc:identifier="http://192.168.0.64/wiki/index.php/Main_Page" dc:title="Main Page" trackback:ping="http://192.168.0.64/wiki/trackback.php?article=Main_Page" />
</rdf:RDF>
However, when validating this page using the W3C's web form (
http://validator.w3.org/check ), this causes 9 errors, namely:
- Error Line 25 column 19: there is no attribute "xmlns:rdf".
- Error Line 26 column 18: there is no attribute "xmlns:dc".
- Error Line 27 column 25: there is no attribute "xmlns:trackback".
- Error Line 27 column 80: element "rdf:RDF" undefined.
- Error Line 29 column 13: there is no attribute "rdf:about".
- Error Line 30 column 17: there is no attribute "dc:identifier".
- Error Line 31 column 12: there is no attribute "dc:title".
- Error Line 32 column 18: there is no attribute "trackback:ping".
- Error Line 32 column 78: element "rdf:Description" undefined.
I know very little about RDF, but is it maybe possible to do the same thing in a
way that keeps the W3C validator happy?
Version: 1.8.x
Severity: trivial