Download & Extend

Jurisdictions fails for UK and US because of ampersand in "England & Wales"

Project:Creative Commons
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

The creativecommons_get_jurisdictions() function assumes that what's returned from creativecommons_return_xml() is well-formed XML, but it's not always. In the case of the /support/jurisdictions REST call, what is returned is a list of HTML options. One of these, "UK: England & Wales" is not well-formed, as it should be "UK: England & Wales".

I'm reporting this here since it breaks displaying of the US and UK jurisdictions in the creativecommons module, but it's really a deficiency of CC's REST services. I'll see if they can fix it anytime soon.

Comments

#1

Status:active» needs work

Nathan on cc-devel is on it: http://code.creativecommons.org/issues/issue447

#2

Status:needs work» fixed

Fixed on CC end now.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here