Skip to content

Commit fd40f2c

Browse files
authored
Add NSXMLDocumentTidyXML as option to NSXMLDocument (#464)
* Add NSXMLDocumentTidyXML as option to NSXMLDocument * Trigger notification
1 parent 0138562 commit fd40f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bluepill/src/BPReportCollector.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ + (NSXMLDocument *)collateReports:(NSMutableArray <BPXMLReport *> *)reports
122122
for (BPXMLReport *report in sortedReports) {
123123
[BPUtils printInfo:DEBUGINFO withString:@"MERGING REPORT: %@", [[report url] path]];
124124
@autoreleasepool {
125-
NSXMLDocument *xmlDoc = [[NSXMLDocument alloc] initWithContentsOfURL:[report url] options:0 error:&err];
125+
NSXMLDocument *xmlDoc = [[NSXMLDocument alloc] initWithContentsOfURL:[report url] options:NSXMLDocumentTidyXML error:&err];
126126
if (err) {
127127
[BPUtils printInfo:ERROR withString:@"Failed to parse '%@': %@", [[report url] path], [err localizedDescription]];
128128
[BPUtils printInfo:ERROR withString:@"SOME TESTS MIGHT BE MISSING"];

0 commit comments

Comments
 (0)