Questions tagged [libxml2]

Software library for parsing XML documents.

libxml2 is written in the programming language, and provides bindings to , , , , / and other Pascals, , , and .

The library was originally developed as part of the GNOME project and features

Useful Links

1518 questions
7
votes
3 answers

Proper way to link against libraries from libraries for the iPhone/CocoaTouch

I'm writing a static library for the iPhone and I'm wondering if what I'm doing is recommended or if I should take a different approach. The static library I'm writing is dependant on libxml2. libxml2 has a dynamic library (dylib) and a static…
Caged
  • 963
  • 9
  • 11
7
votes
4 answers

Install PHP 5 without libxml2

I am trying to install a copy of PHP 5 to my home directory on the school computer. The problem is that whenever I try, it complains that my copy of libxml2 is too outdated to work. Is there any way I can install this without upgrading libxml2,…
Mike Trpcic
7
votes
1 answer

Distribute Universal framework written in Swift

I'm facing the issue with distributing compiled swift framework. My framework heavily relies on the libxml2 dynamic library. In order to avoid issues with Swift module compatibility, I've set build flag BUILD_LIBRARY_FOR_DISTRIBUTION = YES. So I've…
Aliaksandr B.
  • 146
  • 16
7
votes
3 answers

Linking Error libxml2.dylib at Xcode 3.2.5 & SDK 4.2

I am trying to connect to twitter using oauth library. The library needs libxml2.dylib to be added. When adding this to SDK 4.1 or less the project build successfully. But when I use that with xcode 3.2.5 and SDK 4.2 I got errors about missing…
Noura
  • 722
  • 10
  • 24
7
votes
4 answers

Creating string with libxml2 (c++)

My problem is that I want to create xml tree and get a simple string object (or even char*). And I can't save xml to file. So in the input I have xmlDocPtr with complete xml tree and want to get string containing xml but without using files. Thx for…
leshka
  • 1,764
  • 6
  • 32
  • 42
7
votes
1 answer

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

I have a Problem with the SAX parser from LibXML2 in Swift 3. I want something like XMLPullParser from Android in iOS. Which downloads XML from a server and while downloading it parses the Stream. My XML looks like this:
ElegyD
  • 4,393
  • 3
  • 21
  • 37
7
votes
2 answers

Python error message "Incompatible library version" libxml and etree.so

Update 2: the main problem turned out to be a different one from what I had thought it was, and asked for help here. I moved the new question to a new post: Install custom python package in virtualenv Update: ok, so I screwed up my non-virtualenv…
Holger
  • 111
  • 1
  • 5
7
votes
1 answer

libxml2 vs expat for an XMPP server

I'm trying to create an XMPP library (and later a server) from scratch in Go (although the language itself is irrelevant) as a means to learn what I can about the XMPP protocol and server software development in general. As many of you know, XMPP is…
hannson
  • 4,465
  • 8
  • 38
  • 46
7
votes
2 answers

libxml2 from java

This question is somewhat related to Fastest XML parser for small, simple documents in Java but with a few more specifics. I'm working on an application which needs to parse many (10s of millions), small (approx. 300k) xml documents. The current…
andersonbd1
  • 5,266
  • 14
  • 44
  • 62
7
votes
6 answers

Building the latest iconv and libxml2 binaries in Win32

I'm trying to get MinGW and MSYS working so I can build iconv and libxml2 in Windows, but I'm finding ./configure and make are giving lots of BSD/Unix related errors that aren't specific enough to google, and not descriptive enough for me to figure…
James Reinke
  • 71
  • 1
  • 1
  • 2
7
votes
1 answer

iOS: "Include of non-modular header" with libxml

I'm trying to build my own framework 'VBL' that uses TouchXML which is based on libxml.dylib The framework is building fine, but whenever I'm trying to use it in any project, I got the following error: "Include of non-modular header inside framework…
Mohamed Salem
  • 161
  • 3
  • 9
7
votes
2 answers

Opening import file for module 'Swift': Not a directory

After following the instructions here to setup libxml on Swift: libxml/tree.h no such file or directory I encountered an error while compiling which said: Opening import file for module 'Swift': Not a directory I've searched online and they…
YellowPillow
  • 4,100
  • 6
  • 31
  • 57
7
votes
1 answer

Nokogiri says versions of Libxml2 above 2.9.0 are broken, is it?

The message on installation says so, but I can't find any reference to it. "are currently known to be broken", but known by whom, and what is the problem? I've checked the Nokogiri code base and issue log, but I can't find the reference to…
ian
  • 12,003
  • 9
  • 51
  • 107
7
votes
2 answers

Swift Framework with libxml

I have Swift Framework project that uses the KissXML Objective-C library. KissXML internally uses libxml. When I build the xcode project (Xcode 6 - beta 5), I get this error: error: :0: error:…
infinite-loop
  • 882
  • 11
  • 17
7
votes
2 answers

Huge memory leak with libxml2

I'm coding a XML parser with libxml2. Actually, I finished it but there is a pretty annoying problem of memory. The program firstly get some links from my database and all those links point to a XML file. I use curl to download them. The process is…
Pwet
  • 95
  • 1
  • 4