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 |
Jump to:
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
Nathan on cc-devel is on it: http://code.creativecommons.org/issues/issue447
#2
Fixed on CC end now.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.