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

turadg’s picture

Status: Active » Needs work
turadg’s picture

Status: Needs work » Fixed

Fixed on CC end now.

Status: Fixed » Closed (fixed)

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