Unfortunately simply adding the DOCTYPE declaration for
XHTML+RDFa isn't sufficient to make it validate. The
document contains namespace declarations like
xmlns:cc="http://creativecommons.org/ns#";
which are not valid per the DTD. Admitedly some validators
choose not to give warnings abo
Most of the anchor tags with name attrs are actually found in the
translations themselves and not in the deed templates, and can't be
changed easily right now. So, it will have to wait until later.
On Tue, Jan 10, 2012 at 5:43 PM, Jonathan Palecek
wrote:
> Alright; normal deeds pass the w3c val
Alright; normal deeds pass the w3c validation tool now without
warnings or anything. Deeds for public domain tools will have a
single attribute error, which I will remove shortly.
On Tue, Jan 10, 2012 at 4:51 PM, Nathan Yergler wrote:
> No good reason that I can imagine, probably just legacy (
No good reason that I can imagine, probably just legacy (ie, leftover
from before there was an XHTML+RDFa doctype). Don't open a bug, just
fix it :).
On Tue, Jan 10, 2012 at 2:46 PM, Jonathan Palecek
wrote:
> Ignoring the attribute errors, the deeds should be well-formed now.
>
> The template fil
Ignoring the attribute errors, the deeds should be well-formed now.
The template file common to most of the deeds and the one common to
the public domain tool use different doctypes from one another. In
the later case, the doctype is xhtml+rdfa. I've opened up a new bug
ticket for this - code.cr
Yikes. Regardless of whether they're well formed as XML, these do need
to be well formed HTML to fulfill the promise that they operate as
linked data documents. In the case of the extraneous span close tag,
that looks like a bug in the template
(http://code.creativecommons.org/viewgit/cc.engine.git
Some of the current generation of CC licences including
http://creativecommons.org/licenses/by-nd/3.0/
are malformed, whether parsed as HTML or XML. These are not
problems with the extra RDFa attributes that are to be
anticipated (and only affect the validity but not the
wellformedness of