Parsing large XML from server while downloading with LibXML2 in Swift 3

Hello,

I have problems to parse an XML with UTF8-encoding on the fly during download from an URL.
I’ve described the problem already on stack, but I did not get an answer on that. Could anybody help me with that?

Best regards,
Stefan

I can’t post a link to the topic on stack… please look at stackoverflow for id 41140050