Since some code needs flexibility in error handling, where hardcoded error value of -1 wasn't handy, o3tl::convertToHex was changed to accept the error value as its template parameter. Change-Id: Ifc771cc8fa29a801d4556dea969fc3ea7e620df5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199367 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
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 expatsource/fastparser: multi-threaded token-based SAX parser UNO service wrapping libxml2source/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"