Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Dec 2016 at 15:20 UTC
Updated:
24 Jun 2017 at 18:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
MixologicThis is a self defense against improper xml characters.
Comment #3
mile23Making the testbot's junit export code more portable here: #2856398: Refactor JUnit XML generation into a helper class
Comment #4
nod_@Mixologic, I would expect cdata sections to handle whatever is inside properly. Is this for display or does it break the xml?
Comment #5
MixologicThe CDATA section prevents parsers from interpreting the enclosed data as markup, however, xml specification itself does not allow for a many characters to appear anywhere within either cdata or in markup, and thus breaks many parsers.
I definitely ran into this early on with drupalci, and had to hunt this down to end up with no parsing issues.
Comment #6
nod_Gotcha, updated.
Still D7 patch.
Comment #8
mile23Related, maybe duplicate: #2883175: CircleCI Simpletest XML output formatting change