cc-devel AT lists.ibiblio.org
Subject: Developer discussion for Creative Commons technology and tools
List archive
Re: [cc-devel] encoding of ampersand in /support/jurisdictions
- From: Nathan Yergler <nathan AT creativecommons.org>
- To: Turadg Aleahmad <turadg AT cmu.edu>
- Cc: cc-devel AT lists.ibiblio.org
- Subject: Re: [cc-devel] encoding of ampersand in /support/jurisdictions
- Date: Fri, 18 Sep 2009 11:38:39 -0700
Hi Turadg,
Just wanted to let you know that this issue has been resolved.
Thanks again for the bug report.
NRY
On Tue, Sep 1, 2009 at 9:57 AM, Nathan Yergler
<nathan AT creativecommons.org> wrote:
> Hi Turadg,
>
> Thanks for bringing that to our attention; we should definitely encode
> that output since we're labeling it as appropriate for direct
> inclusion. I've created a bug to track this:
> http://code.creativecommons.org/issues/issue447.
>
> Nathan
>
>
> On Mon, Aug 31, 2009 at 3:34 PM, Turadg Aleahmad<turadg AT cmu.edu> wrote:
>> I recently started using the "creativecommons" Drupal module that Blaise
>> has
>> been developing this summer. Today I came across a bug that is rooted in
>> CC's REST service (http://drupal.org/node/564816 ).
>> The output of the /support/jurisdictions call is HTML, but not fully to
>> spec
>> because it has a naked "&" character. I guess it depends on what version
>> of
>> HTML is being returned. HTML4 says & *should* be encoded as &. And if
>> it's supposed to be XHTML, then it's necessary.
>> Specifically, I believe the output for "UK: England & Wales" should be "UK:
>> England & Wales". The 1.5 and dev versions both output the former.
>> http://api.creativecommons.org/rest/1.5/support/jurisdictions
>> http://api.creativecommons.org/rest/dev/support/jurisdictions
>>
>> Could the output be entity-encoded? Or perhaps there could be an output
>> like the ".js" for XML?
>> http://api.creativecommons.org/rest/1.5/support/jurisdictions.xml
>> -Turadg
>>
>> _______________________________________________
>> cc-devel mailing list
>> cc-devel AT lists.ibiblio.org
>> http://lists.ibiblio.org/mailman/listinfo/cc-devel
>>
>>
>
-
Re: [cc-devel] encoding of ampersand in /support/jurisdictions,
Nathan Yergler, 09/01/2009
- Re: [cc-devel] encoding of ampersand in /support/jurisdictions, Nathan Yergler, 09/18/2009
Archive powered by MHonArc 2.6.24.