This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7025 - Invalid XHTML+RDFa Icon Code
Summary: Invalid XHTML+RDFa Icon Code
Status: RESOLVED FIXED
Alias: None
Product: Validator
Classification: Unclassified
Component: Templates (show other bugs)
Version: HEAD
Hardware: PC Windows XP
: P2 normal
Target Milestone: 0.8.6
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-12 23:17 UTC by Tobias
Modified: 2010-03-02 18:52 UTC (History)
0 users

See Also:


Attachments

Description Tobias 2009-06-12 23:17:08 UTC
The HTML snippet for showing the icon of a successful XHTML + RDFa validation is itself not valid. The namespace shortcut is inconsistent (dc != dct).

Wrong:
<p about="" resource="http://www.w3.org/TR/rdfa-syntax"
  rel="dct:conformsTo" xmlns:dc="http://purl.org/dc/terms/">
  <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml-rdfa" alt="Valid XHTML + RDFa" /></a>
</p>

Should be:
<p about="" resource="http://www.w3.org/TR/rdfa-syntax"
  rel="dct:conformsTo" xmlns:dct="http://purl.org/dc/terms/">
  <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml-rdfa" alt="Valid XHTML + RDFa" /></a>
</p>
Comment 1 Ville Skyttä 2009-06-23 19:46:35 UTC
Thanks for your report.  This issue has already been fixed in the development version and will go live with the next validator release.
Comment 2 Ville Skyttä 2010-03-02 18:52:50 UTC
Fix is included in 0.8.6.