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

turadg - August 31, 2009 - 22:17
Project:Creative Commons
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

#1

turadg - September 1, 2009 - 17:39
Status:active» needs work

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

#2

turadg - September 18, 2009 - 19:04
Status:needs work» fixed

Fixed on CC end now.

#3

System Message - October 2, 2009 - 19:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.