Library for querying compressed XML metadata
https://github.com/hughsie/libxmlb
XML is slow to parse and strings inside the document cannot be
memory mapped as they do not have a trailing NUL char. The libxmlb
library takes XML source, and converts it to a structured binary
representation with a deduplicated string table -- where the
strings have the NULs included.
This allows an application to mmap the binary XML file, do an XPath
query and return some strings without actually parsing the entire
document. This is all done using (almost) zero allocations and no
actual copying of the binary data.
- Developed at X11:common:Factory
- Sources inherited from project openSUSE:Factory
-
8
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP4:FactoryCandidates/libxmlb && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
libxmlb-0.1.13.tar.xz | 0000091597 89.5 KB | |
libxmlb.changes | 0000002371 2.32 KB | |
libxmlb.spec | 0000003720 3.63 KB |
Revision 4 (latest revision is 16)
Dominique Leuenberger (dimstar_suse)
accepted
request 749155
from
Bjørn Lie (iznogood)
(revision 4)
- Update to version 0.1.13: + New Features: - Export xb_silo_query_full() + Bugfixes: - Show the XPath that was used in the query in the error message - Changes from version 0.1.12: + New Features: - Add helper functions to get the first and last child XbBuilerNode - Add xb_node_transmogrify to allow changing XML format - Support 'tail' XML data in the stored silo + Bugfixes: - Do not escape a single quote with ' - Don't invalidate the silo for a GIO temp file - Fix up two memory leaks if using libxmlb from an introspected binding
Comments 0