office-gobmx/sax
Mike Kaganski 3a37d8320c Optimize TokenMap and AttributeList in oox and xo
Shaves lots of string allocations, and uses optimized code paths

Change-Id: I8e33e2aecdc7e0d2f2c31b774daa36304b3973ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173179
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-09-12 23:09:23 +02:00
..
inc
qa Optimize TokenMap and AttributeList in oox and xo 2024-09-12 23:09:23 +02:00
source Optimize TokenMap and AttributeList in oox and xo 2024-09-12 23:09:23 +02:00
test
CppunitTest_sax.mk
CppunitTest_sax_attributes.mk
CppunitTest_sax_parser.mk
CppunitTest_sax_xmlimport.mk
IwyuFilter_sax.yaml
Library_sax.mk
Makefile
Module_sax.mk
README.md
README.vars

UNO Services for SAX

UNO services for SAX parsing and C++ functions for XMLSchema-2 data types.

  • source/expwrap: string-based SAX parser UNO service wrapping expat
  • source/fastparser: multi-threaded token-based SAX parser UNO service wrapping libxml2
  • source/tools:
    • C++ wrapper for fast SAX parser
    • C++ XMLSchema-2 data type conversion helpers

Multi-threading in FastParser can be disabled for debugging purposes with:

SAX_DISABLE_THREADS=1 SAL_LOG="+INFO.sax.fastparser+WARN"