1
0
mirror of https://github.com/openSUSE/libsolv.git synced 2026-02-05 12:45:46 +01:00

6 Commits

Author SHA1 Message Date
Michael Schroeder
9a13593b43 Fix misparsing of '&' in attributes with libxml2
For some reason libxml2 insists on re-escaping '&' characters
by substituting them with "&". The rpm dependencies are
stored in attributes, so this is not an academic matter.

Undo the damage done by libxml2 by replacing all & occurences
by a single '&'.
2021-09-20 15:10:38 +02:00
Michael Schroeder
97bf32fa56 Fix last commit. Oops. 2018-11-22 13:28:38 +01:00
Michael Schroeder
a2bae081b6 Get rid of the xmlparser's error callback
It's much simpler to just return an error from the parse
call.
2018-11-22 12:53:20 +01:00
Michael Schroeder
2af735a91c Rename ENABLE_LIBXML2 to WITH_LIBXML2
Like with the autotools. Enable is for enabling features.
2017-02-28 14:59:11 +01:00
Michael Schroeder
b5b61f9beb Allow to build with libxml2 instead of libexpat
libxml2 seems to be a tiny bit faster...
2017-02-24 15:20:40 +01:00
Michael Schroeder
4d5c41221f Refactor xml parsing code
Now the parser internals are in solv_xmlparser.c. This makes
it easy to support other parser libraries.
2017-02-23 15:28:18 +01:00