[cc-community] CC Licensing Code Does Not validate according to HTML/XHTML

Nathan Yergler nathan at creativecommons.org
Tue Oct 6 13:51:06 EDT 2009


Hi Shlomi,

I'm not sure about the validation question; you might ask on the rdfa
community list (http://lists.w3.org/Archives/Public/public-rdfa/) --
my impression is that there are people there doing work with
modularlization.

Thanks for the pointer to the JoS article.  We're currently looking at
how to improve the license chooser and we'll try to include
information there about XHTML+RDFa (and why we use it).

Thanks again!

Nathan


On Fri, Oct 2, 2009 at 12:03 PM, Shlomi Fish <shlomif at iglu.org.il> wrote:
> Hi Nathan!
>
> Thanks for your response.
>
> On Friday 02 Oct 2009 20:27:53 Nathan Yergler wrote:
>> Hi Shlomi,
>>
>> The markup we generate uses RDFa to encode the attribution information
>> and other details in a machine readable fashion.  This information can
>> be used in a variety of manners; our deeds, for example, use it to
>> display attribution information for the page a visitor came from.
>>
>> You can find information on making XHTML + RDFa validate at
>> http://rdfa.info/wiki/How-to-validate.
>
> Thanks! I added the proper CC-by-nc-sa code to:
>
> http://www.shlomifish.org/humour/Blue-Rabbit-Log/ideas.xhtml
>
> and it now validates. I plan to add it to more places on my site.
>
> Now two things:
>
> 1. Do you know how I can do a mixed XHTML+MathML+SVG+RDFa markup? I have some
> MathML code at, for example:
>
> http://www.shlomifish.org/MathVentures/bugs-in-square-mathml.xhtml
>
> 2. You may wish to add a note about this somewhere on the "choose-a-licence"
> page to avoid people like me asking more questions about it in the future. As
> Joel on Software notes here -
> http://www.joelonsoftware.com/articles/customerservice.html - one should "Fix
> everything two ways".
>
> Regards,
>
>        Shlomi Fish
>
>>
>> Nathan
>>
>> On Fri, Oct 2, 2009 at 11:18 AM, Shlomi Fish <shlomif at iglu.org.il> wrote:
>> > Hi all!
>> >
>> > I think Creative Commons is a commendable effort - I enjoy and re-use a
>> > lot of its licensed art and resources, and have also licensed a lot of
>> > stuff I created under CC licences - see the various sections of
>> > http://www.shlomifish.org/ for more information. [Reuse] Thanks for all
>> > your work on it.
>> >
>> > {{{{
>> > [Reuse] - I'm not sure if I have seen any significant derived works
>> > (except for someone mirroring my Public Domain "Perl for Newbies"
>> > presentations, and keeping their copy horribly out-of-date, and naturally
>> > a lot of wiki stuff), but I'm hopeful that people will be able to re-use
>> > and re-mix them. }}}}
>> >
>> > When I choose from http://creativecommons.org/choose/ the licence CC-by-
>> > unported I'm getting the following markup:
>> >
>> > {{{{{{
>> > <a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img
>> > alt="Creative Commons License" style="border-width:0"
>> > src="http://i.creativecommons.org/l/by/3.0/88x31.png" /></a><br /><span
>> > xmlns:dc="http://purl.org/dc/elements/1.1/"
>> > href="http://purl.org/dc/dcmitype/Text" property="dc:title"
>> > rel="dc:type">Foo Bar</span> by <a
>> > xmlns:cc="http://creativecommons.org/ns#"
>> > href="http://www.shlomifish.org/" property="cc:attributionName"
>> > rel="cc:attributionURL">Shlomi Fish</a> is licensed under a <a
>> > rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative
>> > Commons Attribution 3.0 Unported License</a>.<br />Based on a work at <a
>> > xmlns:dc="http://purl.org/dc/elements/1.1/"
>> > href="http://www.shlomifish.org/philosophy/"
>> > rel="dc:source">www.shlomifish.org</a>.<br />Permissions beyond the scope
>> > of this license may be available at <a
>> > xmlns:cc="http://creativecommons.org/ns#"
>> > href="http://www.shlomifish.org/philosophy/"
>> > rel="cc:morePermissions">http://www.shlomifish.org/philosophy/</a>
>> > }}}}}}
>> >
>> > The problem is that it does not validate, not even according to XHTML5.
>> > The problem seems to be with the "property=" attribute and the href="..."
>> > on the <span>. Is this XHTML 2.0?
>> >
>> > Do you need any assistance in fixing it?
>> >
>> > Regards and thanks again,
>> >
>> >        Shlomi Fish
>> >
>> > --
>> > -----------------------------------------------------------------
>> > Shlomi Fish       http://www.shlomifish.org/
>> > Optimising Code for Speed - http://shlom.in/optimise
>> >
>> > Chuck Norris read the entire English Wikipedia in 24 hours. Twice.
>> > _______________________________________________
>> > cc-community mailing list
>> > cc-community at lists.ibiblio.org
>> > http://lists.ibiblio.org/mailman/listinfo/cc-community
>>
>> _______________________________________________
>> cc-community mailing list
>> cc-community at lists.ibiblio.org
>> http://lists.ibiblio.org/mailman/listinfo/cc-community
>>
>
> --
> -----------------------------------------------------------------
> Shlomi Fish       http://www.shlomifish.org/
> "Star Trek: We, the Living Dead" - http://shlom.in/st-wtld
>
> Chuck Norris read the entire English Wikipedia in 24 hours. Twice.
>



More information about the cc-community mailing list