Don't try to preserve namespace prefixes, because Apple's serializer is buggy

filed as rdar 29901669
This commit is contained in:
Kornel Lesiński committed 2017-01-06 16:29:29 +00:00
1 parent 187ae4fe57
commit ee80a66896
1 file changed
-1
-1
View File
@@ -47,7 +47,6 @@ func writeAppcast(appcastDestPath: URL, updates: [ArchiveItem]) throws {
XMLNode.Options.nodeLoadExternalEntitiesNever,
XMLNode.Options.nodePreserveCDATA,
XMLNode.Options.nodePreserveWhitespace,
XMLNode.Options.nodePreservePrefixes,
];
doc = try XMLDocument(contentsOf: appcastDestPath, options: Int(options.rawValue));
} catch {