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
-
8
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory/libxmlb && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
baselibs.conf | 0000000035 35 Bytes | |
libxmlb-0.3.15.tar.gz | 0000129048 126 KB | |
libxmlb.changes | 0000008515 8.32 KB | |
libxmlb.spec | 0000003711 3.62 KB |
Revision 14 (latest revision is 16)
- update to 0.3.15: * Sprinkle __attribute__((nonnull)) to give a little more compile-time safety * Accept text/xml as an alternative to application/xml * Do not inline shared code * Fix compiling with Visual Studio * Fix the exported api test on Windows * Generate and use .def file for clang-cl builds Fan) * Release source file handles early - Rebuild the XbMachine parser to support 'and' and 'or'
Comments 0