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

Taylor Swift kelvin13ma at gmail.com
Tue Sep 5 15:06:31 CDT 2017


The CI builds on Swift 4, i believe it should work fine on master too but
it’s not tested there. Also I don’t think snake_case is C++ convention,
i’ve seen both. I use snake_case because camelCase looks too similar to
UpperCamelCase which is reserved for type names.

On Tue, Sep 5, 2017 at 3:43 AM, Georgios Moschovitis <
george.moschovitis at icloud.com> wrote:

> >
> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170905/d56fd495/attachment.html>


More information about the swift-users mailing list