(I am using a strict XHTML 1.1 drupal theme.)
There are some w3c validation issues with RDF information in
->the creative commons site licence block
->the creative commons node licence block
(even when unchecking "Insert RDF/XML" in the creative commons module configuration)
See the w3c validator output
Line 261, Column 12: there is no attribute "about"
<div about="http://URL" instanceof="cc:Work"
Line 261, Column 63: there is no attribute "instanceof"
<div about="http://URL" instanceof="cc:Work"
Line 265, Column 349: there is no attribute "rel"
… neighboring rights to this <span rel="dc:type" href="http://purl.org/dc/dcmit…
Line 265, Column 364: there is no attribute "href"
…ghts to this <span rel="dc:type" href="http://purl.org/dc/dcmitype/">Work</spa…
Line 265, Column 423: there is no attribute "property"
...
Thanks for this great module,
Sylvain Corlay
Comments
Comment #1
balleyne commentedIt's the ccREL metadata that's causing these validation errors. I've tried to follow the ccREL specs best I could, but I think the issue is that it relies on elements outside of the XHTML namespace.
There are two xmlns attributes specified:
xmlns:cc="http://creativecommons.org/ns#"andxmlns:dc="http://purl.org/dc/elements/1.1/"They could be specified in the wrong place, though in trying to manually place them beside the XHTML xmlns specification up in the main element, I was still seeing validation errors. Either we've got them in the wrong place, or ccREL can't validate against XHTML.
The "Insert RDF/XML" flag only actually turns off the old metadata, which was RDF/XML including inside of an XHTML comment. The ccREL metadata is always on in the module, embedded in the license description.
Should there be a setting to turn off metadata entirely? Or is there a way to include additional namespaces and allow it to validate? Might need to ask some folks at CC...