How to reproduce: get your favourite style and (inadvertely) put a HTML entity on a text-name property.
For example, this:
will work fine, but this:
returns a "Error: XML document not well formed: " error. In an ideal world, HTML entities should be no reason for crashing.
@tmcw - could this be happening because CDATA is not being used in carto?
Yeah, it's not used in this instance, though I'm not sure if it'll fix both cases of this problem.
Removing from milestone.
Upstream in Carto: mapbox/carto#125
Fixed upstream in carto, fixed in 0.4.5 tag. HTML entities are not supported but won't cause crashes.