[swift-users] XML parsing on Linux, with Swift 3.1

Georgios Moschovitis george.moschovitis at icloud.com
Tue Sep 5 03:43:38 CDT 2017


> 
> Foundation (NS)XML parsing is a little buggy and incomplete, check out github.com/kelvin13/swiftxml for a pure swift implementation 

Your implementation seems to be Swift4 only?

-g.

PS: Also, I am a bit put-off by some C/C++ coding conventions (e.g. snake_case)

> 
>> On Sep 5, 2017, at 1:01 AM, Georgios Moschovitis via swift-users <swift-users at swift.org> wrote:
>> 
>> Hi,
>> 
>> I would like to parse an RSS feed using Swift 3.1 on Linux.
>> I tried to use Foundations’s XML but I only managed to get segmentation faults. 
>> Is this supposed to work on Linux? I have only seen examples on iOS.
>> 
>> Apart from that a quick search didn’t reveal any useful XML parsing library compatible with Linux.
>> 
>> Any suggestions?
>> 
>> -g.
>> _______________________________________________
>> swift-users mailing list
>> swift-users at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-users



More information about the swift-users mailing list